Skip to content

Instantly share code, notes, and snippets.

@rootxharsh
Last active February 27, 2020 16:27
Show Gist options
  • Save rootxharsh/7a03b041063647a2375bcaf243ba74c7 to your computer and use it in GitHub Desktop.
Save rootxharsh/7a03b041063647a2375bcaf243ba74c7 to your computer and use it in GitHub Desktop.
Aquatone and gowitness
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