Skip to content

Instantly share code, notes, and snippets.

@SocioDroid
Last active October 3, 2020 11:24
Show Gist options
  • Save SocioDroid/2b26d7f5de60d71c33f2bf0309ddea5e to your computer and use it in GitHub Desktop.
Save SocioDroid/2b26d7f5de60d71c33f2bf0309ddea5e to your computer and use it in GitHub Desktop.
A script to enumerate subdomains using Sublist3r and Assetfinder.
#!/bin/sh
filename=$1
while read line; do
echo "Sublist3r"
python3 sublist3r.py -d $line -o $line.txt
echo "Assetfinder"
assetfinder --subs-only $line | tee -a $line.txt
sort -u $line.txt -o $line.txt
done < $filename
#./enumSubdomains.sh subs.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment