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
nmap options moved to cfg for flexibility
six2dez2937c2888e2a
diff --git a/reconftw.cfg b/reconftw.cfgindex 50a2174..6bf2cfe 100644--- a/reconftw.cfg+++ b/reconftw.cfg@@ -94,6 +94,7 @@ FAVICON=true # Check Favicon domain discoveryPORTSCANNER=true # Enable or disable the whole Port scanner modulePORTSCAN_PASSIVE=true # Port scanner with ShodanPORTSCAN_ACTIVE=true # Port scanner with nmap+PORTSCAN_ACTIVE_OPTIONS="--top-ports 200 -sV -n -Pn --open --max-retries 2 --script vulners"CDN_IP=true # Check which IPs belongs to CDN# Web analysisdiff --git a/reconftw.sh b/reconftw.shindex 7f6b877..89b17f3 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -1514,9 +1514,9 @@ function portscan() {fiif [[ $PORTSCAN_ACTIVE == true ]]; thenif [[ $AXIOM != true ]]; then- [ -s ".tmp/ips_nocdn.txt" ] && $SUDO nmap --top-ports 200 -sV -n --max-retries 2 -Pn --open --script vulners -iL .tmp/ips_nocdn.txt -oA hosts/portscan_active 2>>"$LOGFILE" >/dev/null+ [ -s ".tmp/ips_nocdn.txt" ] && $SUDO nmap ${PORTSCAN_ACTIVE_OPTIONS} -iL .tmp/ips_nocdn.txt -oA hosts/portscan_active 2>>"$LOGFILE" >/dev/nullelse- [ -s ".tmp/ips_nocdn.txt" ] && axiom-scan .tmp/ips_nocdn.txt -m nmapx --top-ports 200 -sV -n -Pn --open --max-retries 2 --script vulners -oA hosts/portscan_active $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" >/dev/null+ [ -s ".tmp/ips_nocdn.txt" ] && axiom-scan .tmp/ips_nocdn.txt -m nmapx ${PORTSCAN_ACTIVE_OPTIONS} -oA hosts/portscan_active $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" >/dev/nullfifi