Last active
October 3, 2020 11:24
-
-
Save SocioDroid/e96366b8da70e33f0edd8fe5a3715578 to your computer and use it in GitHub Desktop.
A script to check for subdomain takeover
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
echo "Subjack" | |
subjack -w $line.txt -t 1000 -o $1takeover.txt | |
done < $filename | |
#./sudomainTakeover.sh subs.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment