Skip to content

Instantly share code, notes, and snippets.

@itsmenaga
Last active October 12, 2019 14:04
Show Gist options
  • Save itsmenaga/8aa518a9fc48bdf5bf101f863233143a to your computer and use it in GitHub Desktop.
Save itsmenaga/8aa518a9fc48bdf5bf101f863233143a to your computer and use it in GitHub Desktop.
Subtone - Subfinder With Aquatone . **Usage ./subtone.sh domain.com
#!/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
@itsmenaga
Copy link
Author

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment