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
geo_info function call
Lorenzo Camilli875f3b9ef38f
diff --git a/reconftw.sh b/reconftw.shindex 1335deb..b594e6f 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -1459,6 +1459,7 @@ function portscan() {[ -s "hosts/ips.txt" ] && comm -23 <(cat hosts/ips.txt | sort -u) <(cat hosts/cdn_providers.txt | cut -d'[' -f1 | sed 's/[[:space:]]*$//' | sort -u) | grep -aEiv "^(127|10|169\.154|172\.1[6789]|172\.2[0-9]|172\.3[01]|192\.168)\." | grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b" | sort -u | anew -q .tmp/ips_nocdn.txtprintf "${bblue}\n Resolved IP addresses (No CDN) ${reset}\n\n"[ -s ".tmp/ips_nocdn.txt" ] && cat .tmp/ips_nocdn.txt | sort+ geo_infoprintf "${bblue}\n Scanning ports... ${reset}\n\n"if [[ $PORTSCAN_PASSIVE == true ]] && [[ ! -f "hosts/portscan_passive.txt" ]] && [[ -s ".tmp/ips_nocdn.txt" ]]; thensmap -iL .tmp/ips_nocdn.txt >hosts/portscan_passive.txt