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 analytics

six2dez3a13facdbe0c
diff --git a/install.sh b/install.sh
index df2c74e..3361678 100755
--- a/install.sh
+++ b/install.sh
@@ -31,7 +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"
+gotools["analyticsrelationships"]="Josue87/analyticsrelationships"
declare -A repos
repos["degoogle_hunter"]="six2dez/degoogle_hunter"
@@ -238,6 +238,7 @@ for repo in "${!repos[@]}"; do
eval cmake CMakeLists.txt $DEBUG_STD
eval make $DEBUG_STD
eval $SUDO cp ./urldedupe /usr/bin/ $DEBUG_STD
+ fi
cd "$dir" || { echo "Failed to cd to $dir in ${FUNCNAME[0]} @ line ${LINENO}"; exit 1; }
done
diff --git a/reconftw.sh b/reconftw.sh
index e1231e0..4c10f92 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -424,8 +424,8 @@ function sub_analytics(){
start_subfunc "Running : Analytics Subdomain Enumeration"
if [ -s ".tmp/probed_tmp_scrap.txt" ]; then
mkdir -p .tmp/output_analytics/
- interlace -tL .tmp/probed_tmp_scrap.txt -threads 20 -c "analyticsrelationships --url _target_ > _output_/_target_.txt" -o .tmp/output_analytics/
- find output_analytics/ -type f -exec cat {} \; | anew -q .tmp/analytics_subs_tmp.txt
+ interlace -tL .tmp/probed_tmp_scrap.txt -threads 20 -c "analyticsrelationships --url _target_ > _output_/_cleantarget_.txt" -o .tmp/output_analytics/
+ find .tmp/output_analytics/ -type f -exec cat {} \; | anew -q .tmp/analytics_subs_tmp.txt
rm -rf .tmp/output_analytics/
[ -s ".tmp/analytics_subs_tmp.txt" ] && cat .tmp/analytics_subs_tmp.txt 2>>"$LOGFILE" | grep "\.$domain$\|^$domain$" | sed "s/|__ //" | anew -q .tmp/analytics_subs_clean.txt
[ -s ".tmp/analytics_subs_clean.txt" ] && puredns resolve .tmp/analytics_subs_clean.txt -w .tmp/analytics_subs_resolved.txt -r $resolvers --resolvers-trusted $resolvers_trusted -l $PUREDNS_PUBLIC_LIMIT --rate-limit-trusted $PUREDNS_TRUSTED_LIMIT 2>>"$LOGFILE" &>/dev/null
diff --git a/reconftw_axiom.sh b/reconftw_axiom.sh
index 726ee7c..9c5a09c 100755
--- a/reconftw_axiom.sh
+++ b/reconftw_axiom.sh
@@ -436,8 +436,8 @@ function sub_analytics(){
start_subfunc "Running : Analytics Subdomain Enumeration"
if [ -s ".tmp/probed_tmp_scrap.txt" ]; then
mkdir -p .tmp/output_analytics/
- interlace -tL .tmp/probed_tmp_scrap.txt -threads 20 -c "analyticsrelationships --url _target_ > _output_/_target_.txt" -o .tmp/output_analytics/
- find output_analytics/ -type f -exec cat {} \; | anew -q .tmp/analytics_subs_tmp.txt
+ interlace -tL .tmp/probed_tmp_scrap.txt -threads 20 -c "analyticsrelationships --url _target_ > _output_/_cleantarget_.txt" -o .tmp/output_analytics/
+ find .tmp/output_analytics/ -type f -exec cat {} \; | anew -q .tmp/analytics_subs_tmp.txt
rm -rf .tmp/output_analytics/
[ -s ".tmp/analytics_subs_tmp.txt" ] && cat .tmp/analytics_subs_tmp.txt 2>>"$LOGFILE" | grep "\.$domain$\|^$domain$" | sed "s/|__ //" | anew -q .tmp/analytics_subs_clean.txt
[ -s ".tmp/analytics_subs_clean.txt" ] && axiom-scan .tmp/analytics_subs_clean.txt -m puredns-resolve -r /home/op/lists/resolvers.txt -o .tmp/analytics_subs_resolved.txt 2>>"$LOGFILE" &>/dev/null