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
Dnstake added
six2dezd59a6eaf58e8
diff --git a/install.sh b/install.shindex 10b1b4f..1ad5fc1 100755--- a/install.sh+++ b/install.sh@@ -35,6 +35,7 @@ gotools["gotator"]="go get -u -v github.com/Josue87/gotator"gotools["roboxtractor"]="go get -u -v github.com/Josue87/roboxtractor"gotools["mapcidr"]="GO111MODULE=on go get -v github.com/projectdiscovery/mapcidr/cmd/mapcidr"gotools["clouddetect"]="go get github.com/99designs/clouddetect/cli/clouddetect"+gotools["dnstake"]="go install github.com/pwnesia/dnstake/cmd/dnstake@latest"declare -A reposrepos["uDork"]="m3n0sd0n4ld/uDork"diff --git a/reconftw.sh b/reconftw.shindex 990bffa..5b04e7e 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -646,7 +646,7 @@ function sub_recursive(){function subtakeover(){if { [ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ] || [ "$DIFF" = true ]; } && [ "$SUBTAKEOVER" = true ]; then- start_func "Looking for possible subdomain takeover"+ start_func "Looking for possible subdomain and DNS takeover"touch .tmp/tko.txtif [ ! "$AXIOM" = true ]; thencat subdomains/subdomains.txt webs/webs.txt 2>/dev/null | nuclei -silent -t ~/nuclei-templates/takeovers/ -r $resolvers_trusted -o .tmp/tko.txt@@ -654,6 +654,9 @@ function subtakeover(){cat webs/webs.txt subdomains/subdomains.txt 2>>"$LOGFILE" | anew -q .tmp/webs_subs.txt[ -s ".tmp/webs_subs.txt" ] && axiom-scan .tmp/webs_subs.txt -m nuclei -w /home/op/recon/nuclei/takeovers/ -o .tmp/tko.txt 2>>"$LOGFILE" &>/dev/nullfi++ cat subdomains/subdomains.txt | dnstake -c 50 -s 2>>"$LOGFILE" | anew -q .tmp/tko.txt+NUMOFLINES=$(cat .tmp/tko.txt 2>>"$LOGFILE" | anew webs/takeover.txt | wc -l)if [ "$NUMOFLINES" -gt 0 ]; thennotification "${NUMOFLINES} new possible takeovers found" info