Last active
February 27, 2020 16:27
-
-
Save rootxharsh/7a03b041063647a2375bcaf243ba74c7 to your computer and use it in GitHub Desktop.
Aquatone and gowitness
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
alias reconme='function frecon() | |
{ | |
mkdir $1 | |
$HOME/./gowitness --chrome-path=/usr/bin/google-chrome file --source=$HOME/aquatone/$1/urls.txt -d $1/ -$ | |
$HOME/./gowitness --chrome-path=/usr/bin/google-chrome -D /var/www/html/recon/$1/.gowitness-$1.db gene$ | |
mv report.html $1/report-$1.html | |
sed -i -e 's%var\/www\/html\/%%g' $1/report-$1.html | |
chown -R www-data:www-data /var/www/html/recon | |
touch /var/www/html/recon/$1/index.html | |
} | |
function reconme() | |
{ | |
cd /var/www/html/recon | |
if [ -f $HOME/aquatone/$1/urls.txt ]; then | |
frecon $1 | |
else | |
aquatone-discover -d $1 --threads 50 && aquatone-scan --threads 50 --ports huge -d $1 | |
frecon $1 | |
fi | |
};reconme' | |
#Open http://ip/reconm/{{target.com}}/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment