Subdomains enumeration
Theory
Practice
Passive enumeration
echo 'target.com'|(subfinder -all||assetfinder -subs-only)|uniq -u > domains.txt# Subfinder One-Liner
subfinder -d target.domain -all -cs > tmp.txt ; cat tmp.txt | cut -d "," -f 1 > domains.txt ; rm tmp.txt
subfinder -d target.com -all -silent | anew subs.txt
# Standard enumeration with subfinder
subfinder -d "target.domain"
# Pipe subfinder with httpx to find HTTP services
echo "target.domain" | subfinder -silent | httpx -silentamass enum --passive -d "domain.com"
amass enum -passive -d target.com | anew subs.txtcurl -s 'https://crt.sh/?q=<TARGET.URL>&output=json'|jqVirtual host fuzzing
gobuster vhost --useragent "PENTEST" --wordlist "/path/to/wordlist.txt" --url http://$BASE_DOMAIN/ --append-domainffuf -H "Host: FUZZ.$DOMAIN" -H "User-Agent: PENTEST" -c -w "/path/to/wordlist.txt" -u $URLGoogle & Bing Dorks
Google DorksDNS Enumeration
DNS EnumerationLast updated