Last active
November 2, 2021 12:15
-
-
Save mrHackerr-hub/ae0833189283ba8f2b3154ebaa7d5d35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s "http://web.archive.org/cdx/search/cdx?url=*.REDACTED.COM/*&output=text&fl=original&collapse=urlkey" |sort| sed -e 's_https*://__' -e "s/\/.*//" -e 's/:.*//' -e 's/^www\.//' | uniq | tee webArchive.txt | |
curl -X GET -G -s 'https://virustotal.com/vtapi/v2/domain/report' -d apikey=YOUR_API-KEY -d domain=REDACTED.COM | jq -r '.subdomains' | grep -o '"[^"]\+"' | cut -d '"' -f 2 | sort -u | tee virustotal-subs.txt | |
curl -s "https://otx.alienvault.com/api/v1/indicators/domain/REDACTED.COM/passive_dns"|jq '.passive_dns[].hostname' 2>/dev/null |grep -o "\w.*REDACTED.COM"|sort -u > alienvault_domains.txt | |
curl -s 'https://crt.sh/?q=REDACTED.COM&output=json' | jq -r '.[].name_value' | sed 's/\*\.//g' | sort -u > crtsubs.txt | |
curl -s "https://api.threatminer.org/v2/domain.php?q=REDACTED.COM&rt=5" | jq -r '.results[]' 2>/dev/null |grep -o "\w.*$1"|anew REDACTED.COM-threatminer_domains.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment