# Get JSON output of SSL certificates
curl -s "https://crt.sh/?q=domain.com&output=json" | jq .
# List unique subdomains from certificates
curl -s "https://crt.sh/?q=domain.com&output=json" | jq . | grep name | cut -d":" -f2 | grep -v "CN=" | cut -d'"' -f2 | awk '{gsub(/\\n/,"\n");}1;' | sort -u# Resolve subdomains to IP addresses
for i in $(cat subdomainlist); do host $i | grep "has address" | grep domain.com | cut -d" " -f1,4; done
# Get all DNS records
dig any domain.com# Get information about multiple IP addresses
for i in $(cat ip-addresses.txt); do shodan host $i; done