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 3rd parties var

six2deza34df226feba
diff --git a/reconftw.cfg b/reconftw.cfg
index 64d5b45..a659f3b 100644
--- a/reconftw.cfg
+++ b/reconftw.cfg
@@ -53,7 +53,7 @@ DOMAIN_INFO=true # whois info
REVERSE_WHOIS=true # amass intel reverse whois info, takes some time
IP_INFO=true # Reverse IP search, geolocation and whois
API_LEAKS=true # Check for API leaks
-3RD_PARTIES=true # Check for 3rd parties misconfigs
+THIRD_PARTIES=true # Check for 3rd parties misconfigs
METAFINDER_LIMIT=20 # Max 250
# Subdomains
diff --git a/reconftw.sh b/reconftw.sh
index 41176b8..e15dc9d 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -653,7 +653,7 @@ function domain_info() {
function third_party_misconfigs() {
mkdir -p 3rdparties
- if { [[ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ]] || [[ $DIFF == true ]]; } && [[ $3RD_PARTIES == true ]] && [[ $OSINT == true ]] && ! [[ $domain =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9] ]]; then
+ if { [[ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ]] || [[ $DIFF == true ]]; } && [[ $THIRD_PARTIES == true ]] && [[ $OSINT == true ]] && ! [[ $domain =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9] ]]; then
start_func ${FUNCNAME[0]} "Searching for third parties misconfigurations"
company_name=$(echo $domain | unfurl format %r)
@@ -669,12 +669,12 @@ function third_party_misconfigs() {
end_func "Results are saved in $domain/3rdparties" ${FUNCNAME[0]}
else
- if [[ $3RD_PARTIES == false ]] || [[ $OSINT == false ]]; then
+ if [[ $THIRD_PARTIES == false ]] || [[ $OSINT == false ]]; then
printf "\n${yellow}[$(date +'%Y-%m-%d %H:%M:%S')] ${FUNCNAME[0]} skipped in this mode or defined in reconftw.cfg ${reset}\n"
elif [[ $domain =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9] ]]; then
return
else
- if [[ $3RD_PARTIES == false ]] || [[ $OSINT == false ]]; then
+ if [[ $THIRD_PARTIES == false ]] || [[ $OSINT == false ]]; then
printf "\n${yellow}[$(date +'%Y-%m-%d %H:%M:%S')] ${FUNCNAME[0]} skipped in this mode or defined in reconftw.cfg ${reset}\n"
else
printf "${yellow}[$(date +'%Y-%m-%d %H:%M:%S')] ${FUNCNAME[0]} is already processed, to force executing ${FUNCNAME[0]} delete\n $called_fn_dir/.${FUNCNAME[0]} ${reset}\n\n"