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
Small Fixes
six2dezbc2328ebb318
diff --git a/reconftw.sh b/reconftw.shindex ea7deea..93d11a3 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -693,7 +693,7 @@ function portscan(){printf "${bblue}\n Resolved IP addresses (No WAF) ${reset}\n\n";[ -s ".tmp/ips_nowaf.txt" ] && cat .tmp/ips_nowaf.txt | sortprintf "${bblue}\n Scanning ports... ${reset}\n\n";- if [ "$PORTSCAN_PASSIVE" = true ] && [ ! -f "hosts/portscan_passive.txt" ]; then+ if [ "$PORTSCAN_PASSIVE" = true ] && [ ! -f "hosts/portscan_passive.txt" ] && [ -s "hosts/ips.txt" ] ; thenfor sub in $(cat hosts/ips.txt); doshodan host $sub 2>/dev/null >> hosts/portscan_passive.txt && echo -e "\n\n#######################################################################\n\n" >> hosts/portscan_passive.txtdone@@ -789,7 +789,7 @@ function fuzz(){start_func "Web directory fuzzing"if [ -s "webs/webs.txt" ]; thenmkdir -p $dir/fuzzing- interlace -tL webs/webs.txt -threads 10 -c "ffuf -mc all -fc 404 -ac -t ${FFUF_THREADS} -sf -s -H \"${HEADER}\" -w ${fuzz_wordlist} -maxtime ${FFUF_MAXTIME} -u _target_/FUZZ -of csv -o _output_/_cleantarget_.csv -ac" -o fuzzing 2>>"$LOGFILE" &>/dev/null+ interlace -tL webs/webs.txt -threads 10 -c "ffuf -mc all -fc 404 -ac -t ${FFUF_THREADS} -sf -s -H \"${HEADER}\" -w ${fuzz_wordlist} -maxtime ${FFUF_MAXTIME} -u _target_/FUZZ -of csv -o _output_/_cleantarget_.csv" -o fuzzing 2>>"$LOGFILE" &>/dev/nullfor sub in $(cat webs/webs.txt); dosub_out=$(echo $sub | sed -e 's|^[^/]*//||' -e 's|/.*$||')diff --git a/reconftw_axiom.sh b/reconftw_axiom.shindex f73bf8b..ce60a26 100755--- a/reconftw_axiom.sh+++ b/reconftw_axiom.sh@@ -713,7 +713,7 @@ function portscan(){printf "${bblue}\n Resolved IP addresses (No WAF) ${reset}\n\n";[ -s ".tmp/ips_nowaf.txt" ] && cat .tmp/ips_nowaf.txt | sortprintf "${bblue}\n Scanning ports... ${reset}\n\n";- if [ "$PORTSCAN_PASSIVE" = true ] && [ ! -f "hosts/portscan_passive.txt" ]; then+ if [ "$PORTSCAN_PASSIVE" = true ] && [ ! -f "hosts/portscan_passive.txt" ] && [ -s "hosts/ips.txt" ] ; thenfor sub in $(cat hosts/ips.txt); doshodan host $sub 2>/dev/null >> hosts/portscan_passive.txt && echo -e "\n\n#######################################################################\n\n" >> hosts/portscan_passive.txtdone@@ -811,7 +811,7 @@ function fuzz(){if [ -s "webs/webs.txt" ]; thenmkdir -p $dir/fuzzing- axiom-scan webs/webs.txt -m ffuf -w /home/op/lists/onelistforallmicro.txt -H \"${HEADER}\" -mc all -fc 404 -sf -s -maxtime $FFUF_MAXTIME -o $dir/fuzzing/ffuf-content.csv 2>>"$LOGFILE" &>/dev/null+ axiom-scan webs/webs.txt -m ffuf -w /home/op/lists/onelistforallmicro.txt -H \"${HEADER}\" -mc all -fc 404 -sf -ac -s -maxtime $FFUF_MAXTIME -o $dir/fuzzing/ffuf-content.csv 2>>"$LOGFILE" &>/dev/nullgrep -v "FUZZ,url,redirectlocation" $dir/fuzzing/ffuf-content.csv | awk -F "," '{print $2" "$5" "$6}' | sort > $dir/fuzzing/ffuf-content.tmpfor sub in $(cat webs/webs.txt); do