Skip to content

Instantly share code, notes, and snippets.

@hackerpain
Forked from payloadartist/firefox.sh
Created March 21, 2020 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hackerpain/30098527cfff1d2522623fdbf490fd20 to your computer and use it in GitHub Desktop.
Save hackerpain/30098527cfff1d2522623fdbf490fd20 to your computer and use it in GitHub Desktop.
Enumerate sub-domains, then open them in Firefox automatically. Useful for taking a quick glance at target's assets, and make notes, while doing recon.
# cat firefox.sh >> ~/.bashrc
# Usage - subf_ff target.tld
# asset_ff target.tld
subf_ff () {
subfinder -d $1 -silent - t 100 | httprobe -c 50 | sort -u | while read line; do firefox $line; sleep 10; done
}
asset_ff () {
assetfinder -subs-only $1 | httprobe -c 50 | sort -u | while read line; do firefox $line; sleep 10; done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment