Skip to content

Instantly share code, notes, and snippets.

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