Subfinder is a fast and passive subdomain enumeration tool developed by ProjectDiscovery. It is widely used in reconnaissance to discover valid subdomains of a target domain using multiple data sources.
Installation
Update Termux and install Go:
pkg update && pkg upgrade && pkg install golang git -yInstall Subfinder using Go:
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latestAdd Go binary path to PATH:
export PATH=$PATH:$HOME/go/binVerify installation:
subfinder -hUsage Commands
Find subdomains of a domain:
subfinder -d example.comSave output to a file:
subfinder -d example.com -o subdomains.txtUse silent mode (clean output):
subfinder -d example.com -silentEnumerate subdomains using all sources:
subfinder -d example.com -allUse multiple domains from a file:
subfinder -dL domains.txtSet timeout value:
subfinder -d example.com -timeout 30