Skip to content

Instantly share code, notes, and snippets.

@payloadartist
Last active February 6, 2021 20:42
Show Gist options
  • Save payloadartist/96b0acde38b763feac61b345bc8c5faa to your computer and use it in GitHub Desktop.
Save payloadartist/96b0acde38b763feac61b345bc8c5faa 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.
# ------Instructions---------
# Install (and configure) subfinder, assetfinder, and httprobe
# go get -v github.com/projectdiscovery/subfinder/cmd/subfinder && go get -v github.com/tomnomnom/httprobe && go get -v github.com/tomnomnom/assetfinder
# cat firefox.sh >> ~/.bashrc
# source ~/.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