Last active
October 12, 2019 14:04
-
-
Save itsmenaga/8aa518a9fc48bdf5bf101f863233143a to your computer and use it in GitHub Desktop.
Subtone - Subfinder With Aquatone . **Usage ./subtone.sh domain.com
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/bash | |
echo "[*]Subfinder and Aquatone Scan Started [*]" | |
subfinder -d $1 -o $1.json -oT -nW -v | |
rm -rf /root/pentest/results/$1 | |
mkdir /root/pentest/results/$1 | |
cp $1.json /root/pentest/results/$1/ | |
mv /root/pentest/results/$1/$1.json /root/pentest/results/$1/hosts.json | |
aquatone-scan -d $1 --ports huge --threads 10 | |
DEBUG=nightmare xvfb-run -a aquatone-gather -d $1 --threads 10 | |
aquatone-takeover -d $1 --threads 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I Changed the Aquatone Results Directory to /root/pentest/results. Add Following Lines to ~/.profile if you want to use the same
export AQUATONEPATH="/root/pentest/results"