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
Fixed analyticsrelationship && improved recursive search
six2dez63bda48af20d
diff --git a/install.sh b/install.shindex 360e7da..df2c74e 100755--- a/install.sh+++ b/install.sh@@ -31,6 +31,7 @@ gotools["dalfox"]="GO111MODULE=on go get -v github.com/hahwul/dalfox/v2"gotools["puredns"]="GO111MODULE=on go get github.com/d3mondev/puredns/v2"gotools["resolveDomains"]="go get -v github.com/Josue87/resolveDomains"gotools["interactsh-client"]="GO111MODULE=on go get -v github.com/projectdiscovery/interactsh/cmd/interactsh-client"+gotools["analyticsrelationships"]="six2dez/analyticsrelationships"declare -A reposrepos["degoogle_hunter"]="six2dez/degoogle_hunter"@@ -56,7 +57,6 @@ repos["testssl"]="drwetter/testssl.sh"repos["ip2provider"]="oldrho/ip2provider"repos["commix"]="commixproject/commix"repos["JSA"]="six2dez/JSA"-repos["AnalyticsRelationships"]="Josue87/AnalyticsRelationships"repos["urldedupe"]="ameenmaali/urldedupe"repos["cloud_enum"]="initstring/cloud_enum"@@ -238,11 +238,6 @@ for repo in "${!repos[@]}"; doeval cmake CMakeLists.txt $DEBUG_STDeval make $DEBUG_STDeval $SUDO cp ./urldedupe /usr/bin/ $DEBUG_STD- elif [ "AnalyticsRelationships" = "$repo" ]; then- eval cd GO $DEBUG_STD- eval go build -ldflags "-s -w" $DEBUG_STD- eval $SUDO cp ./analyticsrelationships /usr/bin/ $DEBUG_STD- ficd "$dir" || { echo "Failed to cd to $dir in ${FUNCNAME[0]} @ line ${LINENO}"; exit 1; }donediff --git a/reconftw.sh b/reconftw.shindex 209a500..e1231e0 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -481,7 +481,7 @@ function sub_recursive(){start_subfunc "Running : Subdomains recursive search"# Passive recursiveif [ "$SUB_RECURSIVE_PASSIVE" = true ]; then- for sub in $(cat subdomains/subdomains.txt | rev | cut -d '.' -f 3,2,1 | rev | sort | uniq -c | sort -nr | grep -v '1 ' | sed -e 's/^[[:space:]]*//' | cut -d ' ' -f 2); do+ for sub in $( ( cat subdomains/subdomains.txt | rev | cut -d '.' -f 4,3,2,1 | rev | sort | uniq -c | sort -nr | grep -v '1 ' && cat subdomains/subdomains.txt | rev | cut -d '.' -f 3,2,1 | rev | sort | uniq -c | sort -nr | grep -v '1 ' ) | sed -e 's/^[[:space:]]*//' | cut -d ' ' -f 2);dosubfinder -d $sub -all -silent 2>>"$LOGFILE" | anew -q .tmp/passive_recursive.txtassetfinder --subs-only $sub 2>>"$LOGFILE" | anew -q .tmp/passive_recursive.txtamass enum -passive -d $sub -config $AMASS_CONFIG 2>>"$LOGFILE" | anew -q .tmp/passive_recursive.txtdiff --git a/reconftw_axiom.sh b/reconftw_axiom.shindex e874137..726ee7c 100755--- a/reconftw_axiom.sh+++ b/reconftw_axiom.sh@@ -495,7 +495,7 @@ function sub_recursive(){start_subfunc "Running : Subdomains recursive search"# Passive recursiveif [ "$SUB_RECURSIVE_PASSIVE" = true ]; then- for sub in $(cat subdomains/subdomains.txt | rev | cut -d '.' -f 3,2,1 | rev | sort | uniq -c | sort -nr | grep -v '1 ' | sed -e 's/^[[:space:]]*//' | cut -d ' ' -f 2); do+ for sub in $( ( cat subdomains/subdomains.txt | rev | cut -d '.' -f 4,3,2,1 | rev | sort | uniq -c | sort -nr | grep -v '1 ' && cat subdomains/subdomains.txt | rev | cut -d '.' -f 3,2,1 | rev | sort | uniq -c | sort -nr | grep -v '1 ' ) | sed -e 's/^[[:space:]]*//' | cut -d ' ' -f 2);doecho $sub | anew -q .tmp/sub_pass_recur_target.comdoneif [ -s ".tmp/sub_pass_recur_target.com" ]; then