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 #1012
six2dez98c299f77056
diff --git a/lib/ui.sh b/lib/ui.shindex e0f5a54..1c3307d 100644--- a/lib/ui.sh+++ b/lib/ui.sh@@ -73,15 +73,20 @@ ui_human_output_enabled() {}ui_term_width() {+ if [[ -n "$_UI_CACHED_WIDTH" ]]; then+ printf "%s" "$_UI_CACHED_WIDTH"+ return 0+ filocal width="${COLUMNS:-0}"if ! [[ "$width" =~ ^[0-9]+$ ]] || ((width < 20)); thenif command -v tput >/dev/null 2>&1; then- width=$(tput cols 2>/dev/null || echo 0)+ width=$(timeout 1 tput cols 2>/dev/null || echo 0)fifiif ! [[ "$width" =~ ^[0-9]+$ ]] || ((width < 20)); thenwidth=80fi+ _UI_CACHED_WIDTH="$width"printf "%s" "$width"}diff --git a/modules/web.sh b/modules/web.shindex 40ce7a6..cdaffc5 100644--- a/modules/web.sh+++ b/modules/web.sh@@ -1256,6 +1256,14 @@ _fuzz_run_local() {-c "ffuf ${FFUF_FLAGS} ${ffuf_recursion_flags} -t ${slow_threads} -rate ${slow_rate} -H \"${HEADER}\" -w ${fuzz_wordlist} -maxtime ${FFUF_MAXTIME} -u _target_/FUZZ -o _output_/_cleantarget_.json" \-o "$dir/.tmp/fuzzing"fi++ # Convert JSON results to TXT in fuzzing/ directory (like axiom path does)+ find "$dir/.tmp/fuzzing/" -type f -name "*.json" -print0 2>/dev/null | while IFS= read -r -d '' json_file; do+ local base+ base=$(basename "${json_file%.json}")+ jq -r 'try .results[] | "\(.status) \(.length) \(.url)"' "$json_file" 2>/dev/null \+ | sort -k1 | anew -q "fuzzing/${base}.txt" 2>>"$LOGFILE" || true+ done}# Run ffuf via axiom-scan and parse per-subdomain results