Skip to content

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

still fixing output

six2deze3e4f973e36a
diff --git a/lib/common.sh b/lib/common.sh
index 4e3d52d..ae22419 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -85,11 +85,10 @@ count_lines_stdin() {
# Section header for major phases (OSINT, Subdomains, Web, Vulns, etc.)
# Usage: _print_section "OSINT"
-# Output: ══════════════════ OSINT ══════════════════
_print_section() {
[[ "${OUTPUT_VERBOSITY:-1}" -lt 1 ]] && return 0
- local title="$1"
- printf "\n%b══════════════════ %s ══════════════════%b\n\n" "${bgreen:-}" "$title" "${reset:-}"
+ local title="${1^^}"
+ printf "\n%b── %s %s%b\n" "${bgreen:-}" "$title" "──────────────────────────────────────────────────────────────" "${reset:-}" | cut -c 1-64
}
# Compact status line with dot-fill and right-aligned detail
diff --git a/modules/axiom.sh b/modules/axiom.sh
index bf2d977..9b10f57 100644
--- a/modules/axiom.sh
+++ b/modules/axiom.sh
@@ -112,10 +112,7 @@ function axiom_launch() {
# To re-enable: [[ -n ${AXIOM_FLEET_REGIONS-} ]] && AXIOM_FLEET_ARGS+=( --regions="${AXIOM_FLEET_REGIONS}" )
# Show the exact command with proper quoting
- printf 'axiom-fleet2 %q' "${AXIOM_FLEET_NAME}"
- printf ' %q' "${AXIOM_FLEET_ARGS[@]}"
- echo
- axiom-fleet2 "${AXIOM_FLEET_NAME}" "${AXIOM_FLEET_ARGS[@]}"
+ axiom-fleet2 "${AXIOM_FLEET_NAME}" "${AXIOM_FLEET_ARGS[@]}" >/dev/null 2>&1
axiom-select "$AXIOM_FLEET_NAME*"
if [[ -n $AXIOM_POST_START ]]; then
bash -lc "$AXIOM_POST_START" 2>>"$LOGFILE" >/dev/null
diff --git a/modules/core.sh b/modules/core.sh
index b6a3807..566a9e4 100644
--- a/modules/core.sh
+++ b/modules/core.sh
@@ -342,9 +342,8 @@ function tools_installed() {
local tools_dur=$((tools_end - tools_start))
if [[ $all_installed == true ]]; then
- _print_status OK "Tools check" "${tools_dur}s"
+ : # Tools check OK, no output
else
- _print_status WARN "Tools check" "${tools_dur}s"
printf " Pending: %s\n" "${missing_tools[*]}"
fi
@@ -385,30 +384,10 @@ function check_critical_dependencies() {
dep_end=$(date +%s)
local dep_dur=$((dep_end - dep_start))
- if [[ $all_critical_ok == false ]]; then
- _print_status FAIL "Critical dependencies" "${dep_dur}s"
- printf " Missing: %s\n" "${missing_critical[*]}"
- printf "\n%bPlease install these tools and try again: ./install.sh%b\n" "$yellow" "$reset"
- exit 1
- else
- _print_status OK "Critical dependencies" "${dep_dur}s"
- fi
-}
-# Report optional API keys used by passive URL providers.
-# Missing keys are informational only; scan continues in best-effort mode.
-function check_optional_api_keys() {
- local missing_keys=()
- [[ -z "${URLSCAN_API_KEY:-}" ]] && missing_keys+=("URLSCAN")
- [[ -z "${VIRUSTOTAL_API_KEY:-}" ]] && missing_keys+=("VT")
-
- if [[ ${#missing_keys[@]} -gt 0 ]]; then
- _print_status WARN "API keys not configured: ${missing_keys[*]}" "0s"
- elif [[ "${OUTPUT_VERBOSITY:-1}" -ge 2 ]]; then
- _print_status OK "API keys" "0s"
- fi
}
+
###############################################################################################################
####################################### LOGGING ##################################################
###############################################################################################################
diff --git a/modules/modes.sh b/modules/modes.sh
index c1db99e..6667400 100644
--- a/modules/modes.sh
+++ b/modules/modes.sh
@@ -44,7 +44,6 @@ function start() {
notification "Monitor cycle ${MONITOR_CYCLE}: skipping repeated tools check" info
else
tools_installed
- check_optional_api_keys
fi
# Initialize incremental mode if enabled
@@ -139,10 +138,7 @@ function start() {
_print_rule
fi
if [[ "${OUTPUT_VERBOSITY:-1}" -ge 1 ]]; then
- printf " %b[LEGAL]%b Authorized testing only. You confirm explicit permission\n" "$yellow" "$reset"
- printf " for specified targets and compliance with applicable laws.\n"
- printf " Unauthorized use is prohibited.\n\n"
- fi
+ fi
}
function end() {
diff --git a/reconftw.sh b/reconftw.sh
index bfe5d3f..e3665e0 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -501,6 +501,10 @@ startdir=${PWD}
ui_init
banner
+printf "\n\n" # Two empty lines after banner
+printf " %b[LEGAL]%b Authorized testing only. You confirm explicit permission\n" "$yellow" "$reset"
+printf " for specified targets and compliance with applicable laws.\n"
+printf " Unauthorized use is prohibited.\n\n"
printf "\n"
check_version