Huntrs leverages OSINT techniques to identify and uncover related infrastructure. Namely, it serves 3 primary purposes, to identify origin servers of domains behind Cloudflare, identify similar hosts via fashicon hash searches, and identify domains via reverse IP lookups.
[*] Uncover origin servers of sites hidden behind Cloudflare
- Analyze SSL certificates for subdomains
- Utilize Passive DNS History to identify potential servers
- Flexible output options (console, text file)
[*] Uncover related hosts by favicon hash
- Calculate favicon murmur3 hash for a domain
- Search Shodan for related servers by hash
[*] Reverse IP lookup
- Find all domains for an IP found using pdns
- Domain list
- Origin Server IP
- ASN
Cloudflare provides an additional layer of security by masking the true IP addresses of origin servers. However, if not properly configured, origin servers may still be exposed. Huntrs helps find these origin servers.
Favicon hashes provide a timeless method for uncovering potentially related servers.
Ensure you have the latest version of Rust installed.
cargo build --release
The binary will be available in target/release/huntrs
.
huntrs [OPTIONS] <DOMAIN>
- Find origin servers for example.com:
huntrs example.com
- Find origin servers by favicon hash:
huntrs example.com --favi --key <shodan key>
- Find domains by IP:
huntrs 50.12.6.1 --rev
-o, --output <OUTPUT>
: Specify the output file--use-cloudfront
: Check for Cloudfront origin servers-v, --viewdns
: Use only ViewDNS history-b, --both
: Use both Passive DNS sources for deeper results-g, --origin
: Show only origin server information--txt
: Output results to a text file-h, --help
: Print help information-V, --version
: Print version information--favi
: Perform favicon search--key <SHODAN_KEY>
: Shodan API key for favicon search-rev
: Perform reverse IP lookup on ViewDNS
If Huntrs finds more than 5 subdomains to scan, it will prompt you to choose:
all
: Scan all subdomainstop5
: Scan only the top 5 subdomainsmain
: Scan only the main domain
Contributions are welcome!
This tool is provided as is and is for educational purposes only.