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
replacing gau & waybackurls with waymore
six2dezc8da77029c2e
diff --git a/README.md b/README.mdindex f921f8c..bf859fe 100644--- a/README.md+++ b/README.md@@ -492,7 +492,7 @@ reset='\033[0m'- Web screenshoting ([webscreenshot](https://github.com/maaaaz/webscreenshot) or [gowitness](https://github.com/sensepost/gowitness))- Web templates scanner ([nuclei](https://github.com/projectdiscovery/nuclei) and [nuclei geeknik](https://github.com/geeknik/the-nuclei-templates.git))- CMS Scanner ([CMSeeK](https://github.com/Tuhinshubhra/CMSeeK))-- Url extraction ([waybackurls](https://github.com/tomnomnom/waybackurls), [gau](https://github.com/lc/gau), [gospider](https://github.com/jaeles-project/gospider), [github-endpoints](https://gist.github.com/six2dez/d1d516b606557526e9a78d7dd49cacd3) and [JSA](https://github.com/w9w/JSA))+- Url extraction ([waymore](https://github.com/xnl-h4ck3r/waymore), [gospider](https://github.com/jaeles-project/gospider), [github-endpoints](https://gist.github.com/six2dez/d1d516b606557526e9a78d7dd49cacd3) and [JSA](https://github.com/w9w/JSA))- URL patterns Search and filtering ([urless](https://github.com/xnl-h4ck3r/urless), [gf](https://github.com/tomnomnom/gf) and [gf-patterns](https://github.com/1ndianl33t/Gf-Patterns))- Favicon Real IP ([fav-up](https://github.com/pielco11/fav-up))- Javascript analysis ([subjs](https://github.com/lc/subjs), [JSA](https://github.com/w9w/JSA), [xnLinkFinder](https://github.com/xnl-h4ck3r/xnLinkFinder), [getjswords](https://github.com/m4ll0k/BBTz))diff --git a/install.sh b/install.shindex bc70de3..fc0a4f6 100755--- a/install.sh+++ b/install.sh@@ -50,7 +50,7 @@ gotools["qsreplace"]="go install -v github.com/tomnomnom/qsreplace@latest"gotools["Amass"]="go install -v github.com/OWASP/Amass/v3/[email protected]"gotools["ffuf"]="go install -v github.com/ffuf/ffuf@latest"gotools["github-subdomains"]="go install -v github.com/gwen001/github-subdomains@latest"-gotools["waybackurls"]="go install -v github.com/tomnomnom/waybackurls@latest"+#gotools["waybackurls"]="go install -v github.com/tomnomnom/waybackurls@latest"gotools["nuclei"]="go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest"gotools["anew"]="go install -v github.com/tomnomnom/anew@latest"gotools["notify"]="go install -v github.com/projectdiscovery/notify/cmd/notify@latest"@@ -58,7 +58,7 @@ gotools["unfurl"]="go install -v github.com/tomnomnom/unfurl@latest"gotools["httpx"]="go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest"gotools["github-endpoints"]="go install -v github.com/gwen001/github-endpoints@latest"gotools["dnsx"]="go install -v github.com/projectdiscovery/dnsx/cmd/dnsx@latest"-gotools["gau"]="go install -v github.com/lc/gau/v2/cmd/gau@latest"+#gotools["gau"]="go install -v github.com/lc/gau/v2/cmd/gau@latest"gotools["subjs"]="go install -v github.com/lc/subjs@latest"gotools["Gxss"]="go install -v github.com/KathanP19/Gxss@latest"gotools["gospider"]="go install -v github.com/jaeles-project/gospider@latest"@@ -95,6 +95,7 @@ repos["gf"]="tomnomnom/gf"repos["Gf-Patterns"]="1ndianl33t/Gf-Patterns"repos["ctfr"]="UnaPibaGeek/ctfr"repos["xnLinkFinder"]="xnl-h4ck3r/xnLinkFinder"+repos["waymore"]="xnl-h4ck3r/waymore"repos["Corsy"]="s0md3v/Corsy"repos["CMSeeK"]="Tuhinshubhra/CMSeeK"repos["fav-up"]="pielco11/fav-up"diff --git a/reconftw.cfg b/reconftw.cfgindex 67c62f8..d6f43fe 100644--- a/reconftw.cfg+++ b/reconftw.cfg@@ -155,7 +155,7 @@ HTTPX_UNCOMMONPORTS_THREADS=100GOSPIDER_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 unlimiteddiff --git a/reconftw.sh b/reconftw.shindex 261dcd4..cdf9b04 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -54,6 +54,7 @@ function tools_installed(){[ -f "$tools/ctfr/ctfr.py" ] || { printf "${bred} [*] ctfr [NO]${reset}\n"; allinstalled=false;}[ -f "$tools/fuzz_wordlist.txt" ] || { printf "${bred} [*] OneListForAll [NO]${reset}\n"; allinstalled=false;}[ -f "$tools/xnLinkFinder/xnLinkFinder.py" ] || { printf "${bred} [*] xnLinkFinder [NO]${reset}\n"; allinstalled=false;}+ [ -f "$tools/waymore/waymore.py" ] || { printf "${bred} [*] waymore [NO]${reset}\n"; allinstalled=false;}[ -f "$tools/commix/commix.py" ] || { printf "${bred} [*] commix [NO]${reset}\n"; allinstalled=false;}[ -f "$tools/getjswords.py" ] || { printf "${bred} [*] getjswords [NO]${reset}\n"; allinstalled=false;}[ -f "$tools/JSA/jsa.py" ] || { printf "${bred} [*] JSA [NO]${reset}\n"; allinstalled=false;}@@ -70,8 +71,8 @@ function tools_installed(){which dnsvalidator &>/dev/null || { printf "${bred} [*] dnsvalidator [NO]${reset}\n"; allinstalled=false;}which gowitness &>/dev/null || { printf "${bred} [*] gowitness [NO]${reset}\n"; allinstalled=false;}which amass &>/dev/null || { printf "${bred} [*] Amass [NO]${reset}\n"; allinstalled=false;}- which waybackurls &>/dev/null || { printf "${bred} [*] Waybackurls [NO]${reset}\n"; allinstalled=false;}- which gau &>/dev/null || { printf "${bred} [*] gau [NO]${reset}\n"; allinstalled=false;}+ #which waybackurls &>/dev/null || { printf "${bred} [*] Waybackurls [NO]${reset}\n"; allinstalled=false;}+ #which gau &>/dev/null || { printf "${bred} [*] gau [NO]${reset}\n"; allinstalled=false;}which dnsx &>/dev/null || { printf "${bred} [*] dnsx [NO]${reset}\n"; allinstalled=false;}which gotator &>/dev/null || { printf "${bred} [*] gotator [NO]${reset}\n"; allinstalled=false;}which nuclei &>/dev/null || { printf "${bred} [*] Nuclei [NO]${reset}\n"; allinstalled=false;}@@ -1311,8 +1312,13 @@ function urlchecks(){if [ -s ".tmp/webs_all.txt" ]; thenif [ ! "$AXIOM" = true ]; thenif [ "$URL_CHECK_PASSIVE" = true ]; then- 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+ if [ "$DEEP" = true ]; then+ python3 $tools/waymore/waymore.py -i .tmp/webs_all.txt -mode U -f -o .tmp/url_extract_tmp.txt &>/dev/null+ else+ python3 $tools/waymore/waymore.py -i .tmp/webs_all.txt -mode U -f -lcc 1 -o .tmp/url_extract_tmp.txt &>/dev/null+ fi+ #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.txtif [ -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@@ -1332,10 +1338,11 @@ function urlchecks(){[ -s ".tmp/gospider.txt" ] && cat .tmp/gospider.txt | grep -aEo 'https?://[^ ]+' | sed 's/]$//' | grep -E "^(http|https):[\/]{2}([a-zA-Z0-9\-\.]+\.$domain)" | anew -q .tmp/url_extract_tmp.txtelseif [ "$URL_CHECK_PASSIVE" = true ]; then- 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+ #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+ axiom-scan .tmp/webs_all.txt -m waymore -o .tmp/url_extract_tmp.txt $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" &>/dev/nullif [ -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