reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities
Shell bug-bountybugbountybugbounty-tooldnshackingnucleiosintpenetration-testingpentestpentest-toolpentestingreconreconnaissancescannersecuritysecurity-toolssubdomainsubdomain-enumerationvulnerabilities
Merge branch 'dev' of github.com:six2dez/reconftw into dev
six2dezd0b54945adf2
diff --cc reconftw.shindex 049c87e,4467248..16a808c--- a/reconftw.sh+++ b/reconftw.sh@@@ -595,22 -543,19 +595,22 @@@ function portscan()printf "${bgreen}#######################################################################\n"printf "${bblue} Port Scan ${reset}\n\n"start=`date +%s`- for sub in $(cat ${domain}_subdomains.txt); do- echo "$sub $(dig +short a $sub | tail -n1)" | anew -q ${domain}_subdomains_ips.txt++ for sub in $(cat subdomains/subdomains.txt); do+ echo "$sub $(dig +short a $sub | tail -n1)" | anew -q hosts/subdomains_ips.txtdone- eval cat ${domain}_subdomains_ips.txt $dir/${domain}_favicontest.txt $DEBUG_ERROR | cut -d ' ' -f2 | cf-check -c $NPROC | egrep -iv "^(127|10|169|172|192)\." | anew -q .tmp/${domain}_ips_nowaf.txt+ eval cat hosts/subdomains_ips.txt $dir/favicontest.txt $DEBUG_ERROR | cut -d ' ' -f2 | egrep -iv "^(127|10|169|172|192)\." | anew -q hosts/ips.txt++ eval cat hosts/ips.txt | cf-check -c $NPROC | egrep -iv "^(127|10|169|172|192)\." | anew -q .tmp/ips_nowaf.txtprintf "${bblue}\n Resolved IP addresses (No WAF) ${reset}\n\n";- eval cat .tmp/${domain}_ips_nowaf.txt $DEBUG_ERROR | sort+ eval cat .tmp/ips_nowaf.txt $DEBUG_ERROR | sort- if [ "$PORTSCAN_PASSIVE" = true ]+ if [ "$PORTSCAN_PASSIVE" = true ] && [ ! -f "${domain}_portscan_passive.txt" ]then- for sub in $(cat .tmp/${domain}_ips_nowaf.txt); do- shodan host $sub 2>/dev/null >> ${domain}_portscan_passive.txt && echo -e "\n\n#######################################################################\n\n" >> ${domain}_portscan_passive.txt+ for sub in $(cat .tmp/ips_nowaf.txt); do+ shodan host $sub 2>/dev/null >> hosts/portscan_passive.txt && echo -e "\n\n#######################################################################\n\n" >> hosts/portscan_passive.txtdonefi