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

Fix misconfig-mapper error handling and filtering

six2dezad112fe8bca9
diff --git a/reconftw.sh b/reconftw.sh
index 7c1b671..1e3543d 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -597,7 +597,7 @@ function third_party_misconfigs() {
fi
# Run misconfig-mapper and handle errors
- ./misconfig-mapper -target "$company_name" -service "*" | grep -v "\-\]" >"${dir}/osint/3rdparts_misconfigurations.txt"
+ ./misconfig-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