Skip to content

Instantly share code, notes, and snippets.

@0xINT3
Created January 7, 2020 10:58
Show Gist options
  • Save 0xINT3/63c870809582ee404452e3db157c80d4 to your computer and use it in GitHub Desktop.
Save 0xINT3/63c870809582ee404452e3db157c80d4 to your computer and use it in GitHub Desktop.
Fetch all subdomains using crt.sh discovery
curl -fsSL "https://crt.sh/?q=%25.<domain>.com&exclude=expired" | pup 'td :contains(".<domain>.com") text{}' | sort -n | uniq -c | sort -rn | column -t | cut -c 5- > domains.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment