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 JS functions
six2dez8b4a9f50ac54
diff --git a/reconftw.sh b/reconftw.shindex 5d5ee51..126885c 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -3797,6 +3797,8 @@ function jschecks() {if { [[ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ]] || [[ $DIFF == true ]]; } && [[ $JSCHECKS == true ]]; thenstart_func "${FUNCNAME[0]}" "JavaScript Scan"+ [[ ! -s ".tmp/url_extract_js.txt" ]] && cat js/url_extract_js.txt | anew -q .tmp/url_extract_js.txt+if [[ -s ".tmp/url_extract_js.txt" ]]; thenprintf "%bRunning: Fetching URLs 1/6%b\n" "$yellow" "$reset"@@ -3890,6 +3892,7 @@ function jschecks() {fiend_func "Results are saved in $domain/js folder" "${FUNCNAME[0]}"fi+ end_func "No JS files to process" "${FUNCNAME[0]}"elseif [[ $JSCHECKS == false ]]; thenprintf "\n%b[%s] %s skipped due to mode or defined in reconftw.cfg.%b\n" \