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
misconfig-mapper and timeout favup
six2dez25f38d134af6
diff --git a/install.sh b/install.shindex 64da199..502fba1 100755--- a/install.sh+++ b/install.sh@@ -85,6 +85,7 @@ declare -A gotools=(["cent"]="go install -v github.com/xm1k3/cent@latest"["csprecon"]="go install github.com/edoardottt/csprecon/cmd/csprecon@latest"["VhostFinder"]="go install -v github.com/wdahlenburg/VhostFinder@latest"+ ["misconfig-mapper"]="go install github.com/intigriti/misconfig-mapper/cmd/misconfig-mapper@latest")# Declare pipx tools and their pathsdiff --git a/reconftw.sh b/reconftw.shindex 4f6229c..96803cf 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -599,9 +599,23 @@ function third_party_misconfigs() {# Extract company name from domaincompany_name=$(unfurl format %r <<<"$domain")+ # Change directory to Spoofy tool+ if ! pushd "${tools}/misconfig-mapper" >/dev/null; then+ printf "%b[!] Failed to change directory to %s in %s at line %s.%b\n" \+ "$bred" "${tools}/misconfig-mapper" "${FUNCNAME[0]}" "$LINENO" "$reset"+ return 1+ fi+# Run misconfig-mapper and handle errorsmisconfig-mapper -target "$company_name" -service "*" 2>&1 | grep -v "\-\]" | grep -v "Failed" >"${dir}/osint/3rdparts_misconfigurations.txt"+ # Return to the previous directory+ if ! popd >/dev/null; then+ printf "%b[!] Failed to return to previous directory in %s at line %s.%b\n" \+ "$bred" "${FUNCNAME[0]}" "$LINENO" "$reset"+ return 1+ fi+end_func "Results are saved in $domain/osint/3rdparts_misconfigurations.txt" "${FUNCNAME[0]}"else@@ -2875,7 +2889,7 @@ function favicon() {fi# Run the favicon IP lookup tool- "${tools}/fav-up/venv/bin/python3" "${tools}/fav-up/favUp.py" -w "$domain" -sc -o favicontest.json 2>>"$LOGFILE" >/dev/null+ timeout 10m "${tools}/fav-up/venv/bin/python3" "${tools}/fav-up/favUp.py" -w "$domain" -sc -o favicontest.json 2>>"$LOGFILE" >/dev/null# Process the results if favicontest.json exists and is not emptyif [[ -s "favicontest.json" ]]; then