An automated tool for detecting surveillance devices(cameras) on networks.
- Multi-brand detection: Supports 30+ camera brands including Hikvision, Dahua, Axis, CCTV, and more
- High-performance scanning: Concurrent scanning with configurable thread count
- Flexible input: Scan single IPs, URLs, CIDR ranges, or files with target lists
- Smart detection: Uses multiple detection methods (titles, headers, favicon MD5 hashes, body content)
- CSV export: Option to save results to CSV file
- Real-time progress: Live progress display with color-coded output
- Resilient: Handles network timeouts and malformed responses gracefully
- Go 1.16 or higher
git clone https://github.com/K3ysTr0K3R/camtron.git
cd camtron
go build -o camtron main.gogo install github.com/K3ysTr0K3R/camtron@latest./camtron -u http://192.168.1.1./camtron -ip 192.168.1.100./camtron -ip 192.168.1.0/24./camtron -f targets.txt./camtron -f targets.txt -t 100./camtron -f targets.txt -o results.csv./camtron -f targets.txt -o results.csv -append-u string Scan a single URL
-ip string Scan a single IP/CIDR
-f string File with targets (one per line)
-t int Threads (default: 50)
-o string Output CSV file (optional)
-append Append to output CSV instead of overwrite
Create a text file with one target per line:
192.168.1.1
192.168.1.100
10.0.0.0/24
http://example.com
- Avtech — Login pages and favicon detection
- Axis — Favicon MD5 detection
- CCTV — Multiple detection methods
- Dahua — Multiple patterns and favicon detection
- D-Link DCS — Header-based detection
- DVR — Login page detection
- Geovision — Title-based detection
- Hikvision — Comprehensive detection (headers, titles, body content)
- Instar — Title-based detection
- IP Camera — Header-based detection
- Netwave — Header-based detection
- Nuuo — Title-based detection
- Reecam — Header-based detection
- Tenda — Multiple login page variants
- Uniview — Favicon and logo detection
- Xiongmai — Title-based detection
CamTRON uses multiple detection techniques:
- Title Matching: Checks HTML
<title>for brand signatures - Header Analysis: Examines HTTP response headers for identifiers
- Body Content: Searches HTML body for known strings
- Favicon Hashing: MD5 hashing of
favicon.ico - Status Codes: Detects specific HTTP response patterns
- Default threads: 50 concurrent scans
- Timeouts: 2-second timeout per request
- Connection pooling: Reuses HTTP connections
- DNS caching: Reduces repeated DNS lookups
- Progress tracking: Real-time scan statistics
[15:04:05.123] [+] 192.168.1.100 : hikvision, dahua
[15:04:05.456] [+] 192.168.1.101 : axis
Target,Brands
192.168.1.100,"hikvision, dahua"
192.168.1.101,"axis"git clone https://github.com/yourusername/camtron.git
cd camtron
go build -o camtron .
go build -ldflags="-s -w" -o camtron .- Go standard library
- golang.org/x/net/html
go mod downloadAdd rules to the rules slice in main.go:
{"brandname", "/path", "condition=value", "", false}title=— HTML title matchingbody=— HTML body matchingheaders=— HTTP headers matchingmd5=— Favicon MD5 matchingstatus_code=— HTTP status code matching
{"brand", "/", "title=Login&&body=Camera System", "", false}This tool is intended for:
- Security professionals testing their own networks
- Authorized penetration testing engagements
- Educational purposes
WARNING: Unauthorized scanning of networks you do not own or have permission to test is illegal. Always obtain proper authorization. The developers assume no responsibility for misuse or damage.
- Fork the repository
- Create a feature branch
- Commit your changes
- Push the branch
- Open a Pull Request
- Check the Issues page
- Open a new issue with detailed information
Note: This tool is for legitimate security assessment purposes only.
