Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save abdulsec/bfe2ead021cd8e8b54690aeee3cea368 to your computer and use it in GitHub Desktop.
Save abdulsec/bfe2ead021cd8e8b54690aeee3cea368 to your computer and use it in GitHub Desktop.
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