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 LFI and paramspider output
six2dez278da2a43208
diff --git a/reconftw.sh b/reconftw.shindex 5084753..1fec2c5 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -1165,7 +1165,7 @@ function lfi(){if [ -s "gf/lfi.txt" ]; thencat gf/lfi.txt | qsreplace FUZZ | anew -q .tmp/tmp_lfi.txtfor url in $(cat .tmp/tmp_lfi.txt); do- ffuf -v -t $FFUF_THREADS -H "${HEADER}" -w $lfi_wordlist -u $url -mr "root:" &>/dev/null | grep "URL" | sed 's/| URL | //' | anew -q vulns/lfi.txt+ ffuf -v -t $FFUF_THREADS -H "${HEADER}" -w $lfi_wordlist -u $url -mr "root:" 2>/dev/null | grep "URL" | sed 's/| URL | //' | anew -q vulns/lfi.txtdonefiend_func "Results are saved in vulns/lfi.txt" ${FUNCNAME[0]}diff --git a/reconftw_axiom.sh b/reconftw_axiom.shindex fcf9615..5140f3a 100755--- a/reconftw_axiom.sh+++ b/reconftw_axiom.sh@@ -844,7 +844,7 @@ function params(){if [ -s "webs/webs.txt" ]; thencat webs/webs.txt | sed -r "s/https?:\/\///" | anew -q .tmp/probed_nohttp.txtaxiom-scan .tmp/probed_nohttp.txt -m paramspider -l high -q --exclude eot,jpg,jpeg,gif,css,tif,tiff,png,ttf,otf,woff,woff2,ico,pdf,svg,txt,js -o output_paramspider &>>"$LOGFILE"- cat output_paramspider/*.txt 2>>"$LOGFILE" | anew -q .tmp/param_tmp.txt+ find output_paramspider/ -name '*.txt' -exec cat {} \; | anew -q .tmp/param_tmp.txtsed '/^FUZZ/d' -i .tmp/param_tmp.txtrm -rf output_paramspider/ 2>>"$LOGFILE"if [ "$DEEP" = true ]; then@@ -1189,7 +1189,7 @@ function lfi(){if [ -s "gf/lfi.txt" ]; thencat gf/lfi.txt | qsreplace FUZZ | anew -q .tmp/tmp_lfi.txtfor url in $(cat .tmp/tmp_lfi.txt); do- ffuf -v -t $FFUF_THREADS -H "${HEADER}" -w $lfi_wordlist -u $url -mr "root:" &>/dev/null | grep "URL" | sed 's/| URL | //' | anew -q vulns/lfi.txt+ ffuf -v -t $FFUF_THREADS -H "${HEADER}" -w $lfi_wordlist -u $url -mr "root:" 2>/dev/null | grep "URL" | sed 's/| URL | //' | anew -q vulns/lfi.txtdonefiend_func "Results are saved in vulns/lfi.txt" ${FUNCNAME[0]}