Skip to content

Instantly share code, notes, and snippets.

@p4yl0ad
Last active February 24, 2023 23:26
Show Gist options
  • Save p4yl0ad/05f9c1d2c200d2449d37a9252f40df9f to your computer and use it in GitHub Desktop.
Save p4yl0ad/05f9c1d2c200d2449d37a9252f40df9f to your computer and use it in GitHub Desktop.
most crt.sh scripts on github are shit
target='target.tld'; wget "https://crt.sh/?q=$target"; cat index.html\?q=$target | grep -i "<td>" | grep -i $target | sed 's/<br>/\n/g' | sed 's/<BR>/\n/g' | sed 's/<td>/\n/g'| sed 's/<\/td>/\n/g' | sed 's/<TD>/\n/g'| sed 's/<\/TD>/\n/g'| grep -v "*" | sort -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment