Rec 2
Rec 2
Rec 2
/bin/bash
r)
subreport+=("$OPTARG")
;;
*)
usage
;;
esac
done
shift $((OPTIND - 1))
todate=$(date +"%Y-%m-%d")
path=$(pwd)
foldername=recon-$todate
main $domain
red=`tput setaf 1`
green=`tput setaf 2`
yellow=`tput setaf 3`
reset=`tput sgr0`
if [ -d "./$domain" ]
then
echo "This is a known target."
else
mkdir ./$domain
fi
mkdir ./$domain/$foldername
mkdir ./$domain/$foldername/aqua_out
mkdir ./$domain/$foldername/aqua_out/parsedjson
mkdir ./$domain/$foldername/reports/
mkdir ./$domain/$foldername/wayback-data/
mkdir ./$domain/$foldername/screenshots/
touch ./$domain/$foldername/crtsh.txt
touch ./$domain/$foldername/mass.txt
touch ./$domain/$foldername/cnames.txt
touch ./$domain/$foldername/pos.txt
touch ./$domain/$foldername/alldomains.txt
touch ./$domain/$foldername/temp.txt
touch ./$domain/$foldername/tmp.txt
touch ./$domain/$foldername/domaintemp.txt
touch ./$domain/$foldername/ipaddress.txt
touch ./$domain/$foldername/cleantemp.txt
# touch ./$domain/$foldername/master_report.html
mkdir ./$domain/$foldername/thirdlevel/
mkdir ./$domain/$foldername/scan/
mkdir ./$domain/$foldername/eyewitness/
auquatoneThreads=5
subdomainThreads=10
dirsearchThreads=50
dirsearchWordlist=~/tools/dirsearch/db/dicc.txt
massdnsWordlist=~/tools/SecLists/Discovery/DNS/clean-jhaddix-dns.txt
chromiumPath=/snap/bin/chromium
echo "${red}
██████╗░░█████╗░░█████╗░████████╗░░░░░░██████╗░███████╗░█████╗░
██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝░░░░░░██╔══██╗██╔════╝██╔══██╗
██████╔╝██║░░██║██║░░██║░░░██║░░░█████╗██████╔╝█████╗░░██║░░╚═╝
██╔══██╗██║░░██║██║░░██║░░░██║░░░╚════╝██╔══██╗██╔══╝░░██║░░██╗
██║░░██║╚█████╔╝╚█████╔╝░░░██║░░░░░░░░░██║░░██║███████╗╚█████╔╝
╚═╝░░╚═╝░╚════╝░░╚════╝░░░░╚═╝░░░░░░░░░╚═╝░░╚═╝╚══════╝░╚════╝░
░██████╗░█████╗░██████╗░██╗██████╗░████████╗
██╔════╝██╔══██╗██╔══██╗██║██╔══██╗╚══██╔══╝
╚█████╗░██║░░╚═╝██████╔╝██║██████╔╝░░░██║░░░
░╚═══██╗██║░░██╗██╔══██╗██║██╔═══╝░░░░██║░░░
██████╔╝╚█████╔╝██║░░██║██║██║░░░░░░░░██║░░░
╚═════╝░░╚════╝░╚═╝░░╚═╝╚═╝╚═╝░░░░░░░░╚═╝░░░
${reset} "
#massdns
echo "{green}DIRECTORY SEARCH START...(MASSDNS) ..."
#-------------------------------------
# xml-rpc checking
#-------------------------------------
bash ~/tools/scriptlists/xml_finder.sh