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
gau & wayback comes back for default mode (faster)
six2dez3c7bbef14b8a
diff --git a/install.sh b/install.shindex 9fec137..e48cc06 100755--- a/install.sh+++ b/install.sh@@ -82,6 +82,8 @@ gotools["Web-Cache-Vulnerability-Scanner"]="go install -v github.com/Hackmanit/Wgotools["subfinder"]="go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest"gotools["byp4xx"]="go install -v github.com/lobuhi/byp4xx@latest"gotools["hakip2host"]="go install github.com/hakluke/hakip2host@latest"+gotools["waybackurls"]="go install -v github.com/tomnomnom/waybackurls@latest"+gotools["gau"]="go install -v github.com/lc/gau/v2/cmd/gau@latest"declare -A reposrepos["dorks_hunter"]="six2dez/dorks_hunter"diff --git a/reconftw.cfg b/reconftw.cfgindex 7375463..a976876 100644--- a/reconftw.cfg+++ b/reconftw.cfg@@ -159,7 +159,7 @@ HTTPX_UNCOMMONPORTS_THREADS=100KATANA_THREADS=20BRUTESPRAY_THREADS=20BRUTESPRAY_CONCURRENCE=10-#GAU_THREADS=10+GAU_THREADS=10DNSTAKE_THREADS=100DALFOX_THREADS=200PUREDNS_PUBLIC_LIMIT=0 # Set between 2000 - 10000 if your router blows up, 0 means unlimited@@ -204,7 +204,7 @@ resolvers_trusted=${tools}/resolvers_trusted.txt# AXIOM=false Uncomment only to overwrite command line flagsAXIOM_FLEET_LAUNCH=true # Enable or disable spin up a new fleet, if false it will use the current fleet with the AXIOM_FLEET_NAME prefixAXIOM_FLEET_NAME="reconFTW" # Fleet's prefix name-AXIOM_FLEET_COUNT=5 # Fleet's number+AXIOM_FLEET_COUNT=10 # Fleet's numberAXIOM_FLEET_REGIONS="eu-central" # Fleet's regionAXIOM_FLEET_SHUTDOWN=true # # Enable or disable delete the fleet after the execution# This is a script on your reconftw host that might prep things your way...diff --git a/reconftw.sh b/reconftw.shindex 398f397..7b82e0b 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -113,6 +113,8 @@ function tools_installed(){which byp4xx &>/dev/null || { printf "${bred} [*] byp4xx [NO]${reset}\n${reset}"; allinstalled=false;}which ghauri &>/dev/null || { printf "${bred} [*] ghauri [NO]${reset}\n${reset}"; allinstalled=false;}which hakip2host &>/dev/null || { printf "${bred} [*] hakip2host [NO]${reset}\n${reset}"; allinstalled=false;}+ which waybackurls &>/dev/null || { printf "${bred} [*] waybackurls [NO]${reset}\n${reset}"; allinstalled=false;}+ which gau &>/dev/null || { printf "${bred} [*] gau [NO]${reset}\n${reset}"; allinstalled=false;}if [ "${allinstalled}" = true ]; thenprintf "${bgreen} Good! All installed! ${reset}\n\n"@@ -1316,11 +1318,12 @@ function urlchecks(){if [ -s ".tmp/webs_all.txt" ]; thenif [ ! "$AXIOM" = true ]; thenif [ "$URL_CHECK_PASSIVE" = true ]; then- cat .tmp/webs_all.txt | unfurl -u domains > .tmp/waymore_input.txtif [ "$DEEP" = true ]; then+ cat .tmp/webs_all.txt | unfurl -u domains > .tmp/waymore_input.txtpython3 $tools/waymore/waymore.py -i .tmp/waymore_input.txt -mode U -f -oU .tmp/url_extract_tmp.txt 2>>"$LOGFILE" &>/dev/nullelse- python3 $tools/waymore/waymore.py -i .tmp/waymore_input.txt -mode U -f -lcc 1 -oU .tmp/url_extract_tmp.txt 2>>"$LOGFILE" &>/dev/null+ cat .tmp/webs_all.txt | waybackurls -no-subs | anew -q .tmp/url_extract_tmp.txt+ cat .tmp/webs_all.txt | gau --threads $GAU_THREADS | anew -q .tmp/url_extract_tmp.txtfiif [ -s "${GITHUB_TOKENS}" ]; thengithub-endpoints -q -k -d $domain -t ${GITHUB_TOKENS} -o .tmp/github-endpoints.txt 2>>"$LOGFILE" &>/dev/null@@ -1339,7 +1342,15 @@ function urlchecks(){fielseif [ "$URL_CHECK_PASSIVE" = true ]; then- axiom-scan .tmp/webs_all.txt -m waymore -o .tmp/url_extract_tmp.txt $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" &>/dev/null+ if [ "$DEEP" = true ]; then+ cat .tmp/webs_all.txt | unfurl -u domains > .tmp/waymore_input.txt+ axiom-scan .tmp/webs_all.txt -m waymore -o .tmp/url_extract_tmp.txt $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" &>/dev/null+ else+ axiom-scan .tmp/webs_all.txt -m waybackurls -o .tmp/url_extract_way_tmp.txt $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" &>/dev/null+ [ -s ".tmp/url_extract_way_tmp.txt" ] && cat .tmp/url_extract_way_tmp.txt | anew -q .tmp/url_extract_tmp.txt+ axiom-scan .tmp/webs_all.txt -m gau -o .tmp/url_extract_gau_tmp.txt $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" &>/dev/null+ [ -s ".tmp/url_extract_gau_tmp.txt" ] && cat .tmp/url_extract_gau_tmp.txt | anew -q .tmp/url_extract_tmp.txt+ fiif [ -s "${GITHUB_TOKENS}" ]; thengithub-endpoints -q -k -d $domain -t ${GITHUB_TOKENS} -o .tmp/github-endpoints.txt 2>>"$LOGFILE" &>/dev/null[ -s ".tmp/github-endpoints.txt" ] && cat .tmp/github-endpoints.txt | anew -q .tmp/url_extract_tmp.txt