Forked from 003random/subdomains wildcard detection example
Created
August 10, 2022 10:24
-
-
Save 0xSojalSec/865a83e34a99c6a031b9f252c9fc7544 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