Forked from 003random/subdomains wildcard detection example
Created
June 18, 2020 05:10
-
-
Save abdulsec/bfe2ead021cd8e8b54690aeee3cea368 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
if [[ "$(dig @1.1.1.1 A,CNAME {test321123,testingforwildcard,plsdontgimmearesult}.$domain +short | wc -l)" -gt "1" ]]; then | |
echo "[!] Possible wildcard detected." | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment