Skip to content

Instantly share code, notes, and snippets.

@003random
Created January 18, 2019 13:54
Show Gist options
  • Save 003random/dffed7fbad7117796fe6197422a91648 to your computer and use it in GitHub Desktop.
Save 003random/dffed7fbad7117796fe6197422a91648 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