Domain Information
Online Presence:
Download the SSL certificates logs:
$ curl -s https://crt.sh/\?q\=domainname.com\&output\=json | jq .
Filtering the output:
Filter by unique subdomains:
$ curl -s https://crt.sh/\?q\=domainname.com\&output\=json | jq . | grep name | cut -d":" -f2 | grep -v "CN=" | cut -d'"' -f2 | awk '{gsub(/\\n/,"\n");}1;' | sort -u
Filter by company-hosted servers:
$ for i in $(cat subdomainlist);do host $i | grep "has address" | grep inlanefreight.com | cut -d" " -f1,4;done
Finding IOT Devices:
$ for i in $(cat subdomainlist);do host $i | grep "has address" | grep inlanefreight.com | cut -d" " -f4 >> ip-addresses.txt;done
$ for i in $(cat ip-addresses.txt);do shodan host $i;done
DNS records:
$ dig any domain.com
Last updated