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
fix results duplication
Bilel Eljaamiif440f944f4d1
diff --git a/reconftw.sh b/reconftw.shindex 21e1236..4467248 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -552,7 +552,7 @@ portscan(){printf "${bblue}\n Resolved IP addresses (No WAF) ${reset}\n\n";eval cat .tmp/${domain}_ips_nowaf.txt $DEBUG_ERROR | sort- if [ "$PORTSCAN_PASSIVE" = true ]+ if [ "$PORTSCAN_PASSIVE" = true ] && [ ! -f "${domain}_portscan_passive.txt" ]thenfor sub in $(cat .tmp/${domain}_ips_nowaf.txt); doshodan host $sub 2>/dev/null >> ${domain}_portscan_passive.txt && echo -e "\n\n#######################################################################\n\n" >> ${domain}_portscan_passive.txt