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
Fixes
six2deze611d95741a9
diff --git a/install.sh b/install.shindex fccf8c0..c437a88 100755--- a/install.sh+++ b/install.sh@@ -338,12 +338,21 @@ function install_tools() {progress_update "Go tools" "$go_step" "$total_go" "$go_ok" "$go_skip" "$go_fail"[[ $COMPACT != "true" ]] && msg_ok "[$go_step/$total_go] ${gotool} installed"else- failed_tools+=("$gotool")- INST_GO_FAIL+=("$gotool")- ((++go_fail))- double_check=true- progress_update "Go tools" "$go_step" "$total_go" "$go_ok" "$go_skip" "$go_fail"- msg_err "[$go_step/$total_go] ${gotool} failed"+ # If the binary is already present, the upgrade failed but the tool still works.+ # Treat this as a warning rather than a hard failure.+ if command -v "$gotool" >/dev/null 2>&1; then+ INST_GO_SKIP+=("$gotool")+ ((++go_skip))+ progress_update "Go tools" "$go_step" "$total_go" "$go_ok" "$go_skip" "$go_fail"+ msg_warn "[$go_step/$total_go] ${gotool} upgrade failed (existing binary kept)"+ else+ failed_tools+=("$gotool")+ INST_GO_FAIL+=("$gotool")+ ((++go_fail))+ double_check=true+ progress_update "Go tools" "$go_step" "$total_go" "$go_ok" "$go_skip" "$go_fail"+ msg_err "[$go_step/$total_go] ${gotool} failed"+ fifidone[[ $COMPACT == "true" && $IS_TTY -eq 1 ]] && printf "\n"diff --git a/modules/core.sh b/modules/core.shindex 550eac9..5ec61c1 100644--- a/modules/core.sh+++ b/modules/core.sh@@ -224,7 +224,7 @@ function tools_installed() {)declare -A tools_folders=(- ["NUCLEI_TEMPLATES_PATH"]="${NUCLEI_TEMPLATES_PATH}"+ ["nuclei-templates"]="${NUCLEI_TEMPLATES_PATH}")declare -A tools_commands=(diff --git a/modules/modes.sh b/modules/modes.shindex 0f57677..f40ff1a 100644--- a/modules/modes.sh+++ b/modules/modes.sh@@ -548,6 +548,8 @@ function vulns() {4xxbypasstest_sslfi+ else+ _print_msg WARN "Vulnerability module disabled (VULNS_GENERAL=false). Use -a flag or set VULNS_GENERAL=true in config."fi}diff --git a/modules/vulns.sh b/modules/vulns.shindex 9505390..88dc053 100644--- a/modules/vulns.sh+++ b/modules/vulns.sh@@ -78,13 +78,12 @@ function xss() {end_func "Results are saved in vulns/xss.txt" "${FUNCNAME[0]}"else- # Handle cases where XSS is false, no vulnerable URLs, or already processedif [[ $XSS == false ]]; then- pt_msg_warn "${FUNCNAME[0]} skipped due to configuration"+ skip_notification "disabled"elif [[ ! -s "gf/xss.txt" ]]; then- pt_msg_warn "${FUNCNAME[0]} skipped: no candidate URLs for XSS"+ skip_notification "noinput"else- pt_msg_warn "${FUNCNAME[0]} already processed. To force, delete ${called_fn_dir}/.${FUNCNAME[0]}"+ skip_notification "processed"fifi@@ -182,13 +181,12 @@ function ssrf_checks() {fielse- # Handle cases where SSRF_CHECKS is false, no vulnerable URLs, or already processedif [[ $SSRF_CHECKS == false ]]; then- pt_msg_warn "${FUNCNAME[0]} skipped due to configuration"+ skip_notification "disabled"elif [[ ! -s "gf/ssrf.txt" ]]; then- pt_msg_warn "${FUNCNAME[0]} skipped: no candidate URLs for SSRF"+ skip_notification "noinput"else- pt_msg_warn "${FUNCNAME[0]} already processed. To force, delete ${called_fn_dir}/.${FUNCNAME[0]}"+ skip_notification "processed"fifi@@ -224,13 +222,12 @@ function crlf_checks() {end_func "Skipping CRLF: Too many URLs to test, try with --deep flag." "${FUNCNAME[0]}"fielse- # Handle cases where CRLF_CHECKS is false, no vulnerable URLs, or already processedif [[ $CRLF_CHECKS == false ]]; then- pt_msg_warn "${FUNCNAME[0]} skipped due to configuration"- elif [[ ! -s "vulns/crlf.txt" ]]; then- pt_msg_warn "${FUNCNAME[0]} skipped: no candidate URLs for CRLF"+ skip_notification "disabled"+ elif [[ $domain =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]]; then+ returnelse- pt_msg_warn "${FUNCNAME[0]} already processed. To force, delete ${called_fn_dir}/.${FUNCNAME[0]}"+ skip_notification "processed"fifi@@ -273,13 +270,12 @@ function lfi() {returnfielse- # Handle cases where LFI is false, no vulnerable URLs, or already processedif [[ $LFI == false ]]; then- pt_msg_warn "${FUNCNAME[0]} skipped due to configuration"+ skip_notification "disabled"elif [[ ! -s "gf/lfi.txt" ]]; then- pt_msg_warn "${FUNCNAME[0]} skipped: no candidate URLs for LFI"+ skip_notification "noinput"else- pt_msg_warn "${FUNCNAME[0]} already processed. To force, delete ${called_fn_dir}/.${FUNCNAME[0]}"+ skip_notification "processed"fifi@@ -355,13 +351,12 @@ function ssti() {returnfielse- # Handle cases where SSTI is false, no vulnerable URLs, or already processedif [[ $SSTI == false ]]; then- pt_msg_warn "${FUNCNAME[0]} skipped due to configuration"+ skip_notification "disabled"elif [[ ! -s "gf/ssti.txt" ]]; then- pt_msg_warn "${FUNCNAME[0]} skipped: no candidate URLs for SSTI"+ skip_notification "noinput"else- pt_msg_warn "${FUNCNAME[0]} already processed. To force, delete ${called_fn_dir}/.${FUNCNAME[0]}"+ skip_notification "processed"fifi@@ -410,13 +405,12 @@ function sqli() {returnfielse- # Handle cases where SQLI is false, no vulnerable URLs, or already processedif [[ $SQLI == false ]]; then- pt_msg_warn "${FUNCNAME[0]} skipped due to configuration"+ skip_notification "disabled"elif [[ ! -s "gf/sqli.txt" ]]; then- pt_msg_warn "${FUNCNAME[0]} skipped: no candidate URLs for SQLi"+ skip_notification "noinput"else- pt_msg_warn "${FUNCNAME[0]} already processed. To force, delete ${called_fn_dir}/.${FUNCNAME[0]}"+ skip_notification "processed"fifi@@ -533,13 +527,12 @@ function command_injection() {returnfielse- # Handle cases where COMM_INJ is false, no vulnerable URLs, or already processedif [[ $COMM_INJ == false ]]; then- pt_msg_warn "${FUNCNAME[0]} skipped due to configuration"+ skip_notification "disabled"elif [[ ! -s "gf/rce.txt" ]]; then- pt_msg_warn "${FUNCNAME[0]} skipped: no candidate URLs for command injection"+ skip_notification "noinput"else- pt_msg_warn "${FUNCNAME[0]} already processed. To force, delete ${called_fn_dir}/.${FUNCNAME[0]}"+ skip_notification "processed"fifidiff --git a/modules/web.sh b/modules/web.shindex af0719b..03b10bc 100644--- a/modules/web.sh+++ b/modules/web.sh@@ -895,6 +895,16 @@ function nuclei_check() {# Check if the function should runif should_run "NUCLEICHECK"; then+ # Verify nuclei binary is available+ if ! command -v nuclei >/dev/null 2>&1; then+ _print_msg WARN "nuclei_check: nuclei binary not found in PATH - install nuclei first"+ return 0+ fi+ # Verify templates directory exists (needed for -t flag)+ if [[ ! -d "${NUCLEI_TEMPLATES_PATH:-}" ]]; then+ _print_msg WARN "nuclei_check: templates directory '${NUCLEI_TEMPLATES_PATH}' not found - run 'nuclei -update-templates' first"+ return 0+ fistart_func "${FUNCNAME[0]}" "Templates-based Web Scanner"maybe_update_nuclei