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

gau & wayback comes back for default mode (faster)

six2dez3c7bbef14b8a
diff --git a/install.sh b/install.sh
index 9fec137..e48cc06 100755
--- a/install.sh
+++ b/install.sh
@@ -82,6 +82,8 @@ gotools["Web-Cache-Vulnerability-Scanner"]="go install -v github.com/Hackmanit/W
gotools["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 repos
repos["dorks_hunter"]="six2dez/dorks_hunter"
diff --git a/reconftw.cfg b/reconftw.cfg
index 7375463..a976876 100644
--- a/reconftw.cfg
+++ b/reconftw.cfg
@@ -159,7 +159,7 @@ HTTPX_UNCOMMONPORTS_THREADS=100
KATANA_THREADS=20
BRUTESPRAY_THREADS=20
BRUTESPRAY_CONCURRENCE=10
-#GAU_THREADS=10
+GAU_THREADS=10
DNSTAKE_THREADS=100
DALFOX_THREADS=200
PUREDNS_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 flags
AXIOM_FLEET_LAUNCH=true # Enable or disable spin up a new fleet, if false it will use the current fleet with the AXIOM_FLEET_NAME prefix
AXIOM_FLEET_NAME="reconFTW" # Fleet's prefix name
-AXIOM_FLEET_COUNT=5 # Fleet's number
+AXIOM_FLEET_COUNT=10 # Fleet's number
AXIOM_FLEET_REGIONS="eu-central" # Fleet's region
AXIOM_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.sh
index 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 ]; then
printf "${bgreen} Good! All installed! ${reset}\n\n"
@@ -1316,11 +1318,12 @@ function urlchecks(){
if [ -s ".tmp/webs_all.txt" ]; then
if [ ! "$AXIOM" = true ]; then
if [ "$URL_CHECK_PASSIVE" = true ]; then
- cat .tmp/webs_all.txt | unfurl -u domains > .tmp/waymore_input.txt
if [ "$DEEP" = true ]; then
+ cat .tmp/webs_all.txt | unfurl -u domains > .tmp/waymore_input.txt
python3 $tools/waymore/waymore.py -i .tmp/waymore_input.txt -mode U -f -oU .tmp/url_extract_tmp.txt 2>>"$LOGFILE" &>/dev/null
else
- 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.txt
fi
if [ -s "${GITHUB_TOKENS}" ]; then
github-endpoints -q -k -d $domain -t ${GITHUB_TOKENS} -o .tmp/github-endpoints.txt 2>>"$LOGFILE" &>/dev/null
@@ -1339,7 +1342,15 @@ function urlchecks(){
fi
else
if [ "$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
+ fi
if [ -s "${GITHUB_TOKENS}" ]; then
github-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