Skip to content

Instantly share code, notes, and snippets.

@mrHackerr-hub
Last active October 1, 2021 06:49
Show Gist options
  • Save mrHackerr-hub/7424b0c3bf192113527a126e4377a292 to your computer and use it in GitHub Desktop.
Save mrHackerr-hub/7424b0c3bf192113527a126e4377a292 to your computer and use it in GitHub Desktop.
curl -X GET -G -s 'https://virustotal.com/vtapi/v2/domain/report' -d apikey=YOUR_API_KEY -d domain=dell.com | jq -r '.subdomains' | grep -o '"[^"]\+"' | cut -d '"' -f 2 | sort -u | tee virussubs.txt
curl -fsSL "https://crt.sh/?CN=%25.dell.com" | sort -n | uniq -c | grep -o -P '(?<=\<TD\>).*(?=\<\/TD\>)' | sed -e '/white-space:normal/d' | tee crtsub.txt
curl -s "http://web.archive.org/cdx/search/cdx?url=*.dell.com/*&output=text&fl=original&collapse=urlkey" |sort| sed -e 's_https*://__' -e "s/\/.*//" -e 's/:.*//' -e 's/^www\.//' | uniq | tee web-archiveSubs.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment