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
fix 3rd parties and spoof output paths
six2dez6cf7e9e8c6f9
diff --git a/reconftw.sh b/reconftw.shindex 90c4ef6..cace155 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -656,7 +656,7 @@ function domain_info() {function third_party_misconfigs() {- mkdir -p 3rdparties+ mkdir -p osintif { [[ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ]] || [[ $DIFF == true ]]; } && [[ $THIRD_PARTIES == true ]] && [[ $OSINT == true ]] && ! [[ $domain =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9] ]]; thenstart_func ${FUNCNAME[0]} "Searching for third parties misconfigurations"company_name=$(echo $domain | unfurl format %r)@@ -664,13 +664,13 @@ function third_party_misconfigs() {pushd "${tools}/misconfig-mapper" >/dev/null || {echo "Failed to cd directory in ${FUNCNAME[0]} @ line ${LINENO}"}- ./misconfig-mapper -target $company_name -service "*" | grep "\[-\]" > ${dir}/3rdparties/3rdparts_misconfigurations.txt+ ./misconfig-mapper -target $company_name -service "*" | grep "\[-\]" > ${dir}/osint/3rdparts_misconfigurations.txtpopd >/dev/null || {echo "Failed to popd in ${FUNCNAME[0]} @ line ${LINENO}"}- end_func "Results are saved in $domain/3rdparties" ${FUNCNAME[0]}+ end_func "Results are saved in $domain/osint/3rdparts_misconfigurations.txt" ${FUNCNAME[0]}elseif [[ $THIRD_PARTIES == false ]] || [[ $OSINT == false ]]; then@@ -690,20 +690,20 @@ function third_party_misconfigs() {function spoof() {- mkdir -p spoof+ mkdir -p osintif { [[ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ]] || [[ $DIFF == true ]]; } && [[ $SPOOF == true ]] && [[ $OSINT == true ]] && ! [[ $domain =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9] ]]; thenstart_func ${FUNCNAME[0]} "Searching for spoofable domains"pushd "${tools}/Spoofy" >/dev/null || {echo "Failed to cd directory in ${FUNCNAME[0]} @ line ${LINENO}"}- ./spoofy.py -d $domain > ${dir}/spoof/spoof.txt+ ./spoofy.py -d $domain > ${dir}/osint/spoof.txtpopd >/dev/null || {echo "Failed to popd in ${FUNCNAME[0]} @ line ${LINENO}"}- end_func "Results are saved in $domain/3rdparties" ${FUNCNAME[0]}+ end_func "Results are saved in $domain/osint/spoof.txt" ${FUNCNAME[0]}elseif [[ $SPOOF == false ]] || [[ $OSINT == false ]]; then