Skip to content

Instantly share code, notes, and snippets.

@mzpqnxow
Forked from payloadartist/firefox.sh
Created March 22, 2020 21:07
Show Gist options
  • Save mzpqnxow/28d596db3f424d02390e632ccc2f551b to your computer and use it in GitHub Desktop.
Save mzpqnxow/28d596db3f424d02390e632ccc2f551b 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