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
small change on sub tko detrection
six2deza672ba201f45
diff --git a/reconftw.cfg b/reconftw.cfgindex dc2d5f2..f92bd05 100644--- a/reconftw.cfg+++ b/reconftw.cfg@@ -69,7 +69,7 @@ SUBREGEXPERMUTE=true # Permutations by regex analysisSUBGPT=true # Permutations by BingGPT predictionPERMUTATIONS_OPTION=gotator # The alternative is "ripgen" (faster, not deeper)GOTATOR_FLAGS=" -depth 1 -numbers 3 -mindup -adv -md" # Flags for gotator-SUBTAKEOVER=false # Check subdomain takeovers, false by default cuz nuclei already check this+SUBTAKEOVER=true # Check subdomain takeovers, false by default cuz nuclei already check thisSUB_RECURSIVE_PASSIVE=false # Uses a lot of API keys queriesDEEP_RECURSIVE_PASSIVE=10 # Number of top subdomains for recursionSUB_RECURSIVE_BRUTE=false # Needs big disk space and time to resolvediff --git a/reconftw.sh b/reconftw.shindex 538bdc2..9ca5741 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -842,10 +842,10 @@ function subtakeover(){[ ! -s ".tmp/webs_all.txt" ] && cat webs/webs.txt webs/webs_uncommon_ports.txt 2>/dev/null | anew -q .tmp/webs_all.txtif [ ! "$AXIOM" = true ]; thennuclei -update 2>>"$LOGFILE" &>/dev/null- cat subdomains/subdomains.txt .tmp/webs_all.txt 2>/dev/null | nuclei -silent -nh -tags takeover -severity low,medium,high,critical -retries 3 -rl $NUCLEI_RATELIMIT -o .tmp/tko.txt+ cat subdomains/subdomains.txt .tmp/webs_all.txt 2>/dev/null | nuclei -silent -nh -tags takeover -severity info,low,medium,high,critical -retries 3 -rl $NUCLEI_RATELIMIT -o .tmp/tko.txtelsecat subdomains/subdomains.txt .tmp/webs_all.txt 2>>"$LOGFILE" | sed '/^$/d' | anew -q .tmp/webs_subs.txt- [ -s ".tmp/webs_subs.txt" ] && axiom-scan .tmp/webs_subs.txt -m nuclei -tags takeover -nh -severity low,medium,high,critical -retries 3 -rl $NUCLEI_RATELIMIT -o .tmp/tko.txt $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" &>/dev/null+ [ -s ".tmp/webs_subs.txt" ] && axiom-scan .tmp/webs_subs.txt -m nuclei -tags takeover -nh -severity info,low,medium,high,critical -retries 3 -rl $NUCLEI_RATELIMIT -o .tmp/tko.txt $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" &>/dev/nullfi# DNS_TAKEOVER