Skip to content

mohammadhasanii/SubHunter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SubHunter v2

Subdomain recon tool. Queries crt.sh and HackerTarget in parallel, resolves IPs, detects CDN, and scans ports.

Build

# Linux/macOS
bash build.sh

# Windows (PowerShell)
./build.ps1

Binaries output to ./dist/.

Or build manually:

go build -o subhunter .        # Linux
go build -o SubHunter.exe .    # Windows

Usage

Run the binary, enter a root domain when prompted.

example.com   ✓
google.com    ✓
https://...   ✗
sub.x.com     ✗

Output

Column Description
Subdomain Discovered host
IP Resolved address
Provider Detected CDN/host
CDN Behind CDN?
Open Ports Scanned ports (skipped if CDN)

Ports checked: 21 22 25 80 443 3306 5432 8080 8443

Sources

Requirements

Go 1.19+

About

SubHunter is a fast and concurrent tool to discover subdomains, detect open ports, and identify service providers. It also detects whether a domain is behind a CDN, helping security researchers and network engineers map the real infrastructure behind a target domain.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors