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
waymore and faster sub_scraping
six2deze48747f9d774
diff --git a/README.md b/README.mdindex 9220978..ef09c7a 100644--- a/README.md+++ b/README.md@@ -117,7 +117,7 @@ reconFTW is packed with features to make reconnaissance thorough and efficient.- **NOERROR Discovery**: Identifies subdomains with DNS NOERROR responses ([dnsx](https://github.com/projectdiscovery/dnsx), more info [here](https://www.securesystems.de/blog/enhancing-subdomain-enumeration-ents-and-noerror/)).- **Bruteforce**: Performs DNS bruteforcing with customizable wordlists ([puredns](https://github.com/d3mondev/puredns) and custom wordlists).- **Permutations**: Generates subdomain permutations using AI, regex and tools ([Gotator](https://github.com/Josue87/gotator), [ripgen](https://github.com/resyncgg/ripgen), [regulator](https://github.com/cramppet/regulator) and [subwiz](https://github.com/hadriansecurity/subwiz)).-- **Web Scraping**: Extracts subdomains from web crawling and JS files ([katana](https://github.com/projectdiscovery/katana)).+- **Web Scraping**: Extracts subdomains from passive URL sources and live web metadata ([urlfinder](https://github.com/projectdiscovery/urlfinder), [waymore](https://github.com/xnl-h4ck3r/waymore), [httpx](https://github.com/projectdiscovery/httpx), [csprecon](https://github.com/edoardottt/csprecon)).- **DNS Records**: Resolves DNS records for subdomains ([dnsx](https://github.com/projectdiscovery/dnsx)).- **Google Analytics**: Identifies subdomains via Analytics IDs ([AnalyticsRelationships](https://github.com/Josue87/AnalyticsRelationships)).- **TLS Handshake**: Discovers subdomains via TLS ports ([tlsx](https://github.com/projectdiscovery/tlsx)).@@ -144,7 +144,7 @@ reconFTW is packed with features to make reconnaissance thorough and efficient.- **Screenshots**: Captures screenshots of web pages ([nuclei](https://github.com/projectdiscovery/nuclei)).- **Virtual Host Fuzzing**: Identifies virtual hosts by fuzzing HTTP headers ([VhostFinder](https://github.com/wdahlenburg/VhostFinder)).- **CMS Detection**: Identifies content management systems ([CMSeeK](https://github.com/Tuhinshubhra/CMSeeK)).-- **URL Extraction**: Collects URLs passively and actively ([urlfinder](https://github.com/projectdiscovery/urlfinder), [katana](https://github.com/projectdiscovery/katana), [github-endpoints](https://gist.github.com/six2dez/d1d516b606557526e9a78d7dd49cacd3) and [JSA](https://github.com/w9w/JSA)).+- **URL Extraction**: Collects URLs passively and actively ([urlfinder](https://github.com/projectdiscovery/urlfinder), [waymore](https://github.com/xnl-h4ck3r/waymore), [katana](https://github.com/projectdiscovery/katana), [github-endpoints](https://gist.github.com/six2dez/d1d516b606557526e9a78d7dd49cacd3) and [JSA](https://github.com/w9w/JSA)).- **URL Pattern Analysis**: Classifies URLs using patterns ([urless](https://github.com/xnl-h4ck3r/urless), [gf](https://github.com/tomnomnom/gf) and [gf-patterns](https://github.com/1ndianl33t/Gf-Patterns)).- **Favicon Analysis**: Discovers real IPs behind favicons ([fav-up](https://github.com/pielco11/fav-up)).- **JavaScript Analysis**: Extracts secrets and endpoints from JS files ([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), [mantra](https://github.com/MrEmpy/mantra), [jsluice](https://github.com/BishopFox/jsluice)).@@ -550,7 +550,7 @@ CTR_LIMIT=999999 # Limit the number of resultsSUBNOERROR=false # Check DNS NOERROR response and BF on themSUBANALYTICS=true # Google Analytics searchSUBBRUTE=true # DNS bruteforcing-SUBSCRAPING=true # Subdomains extraction from web crawling+SUBSCRAPING=true # Subdomains extraction from passive URLs and live web metadataSUBPERMUTE=true # DNS permutationsSUBIAPERMUTE=true # Permutations by AI analysisSUBREGEXPERMUTE=true # Permutations by regex analysis@@ -594,6 +594,8 @@ NUCLEI_FLAGS_JS="-silent -tags exposure,token -severity info,low,medium,high,criURL_CHECK=true # Enable or disable URL collectionURL_CHECK_PASSIVE=true # Search for urls, passive methods from Archive, OTX, CommonCrawl, etcURL_CHECK_ACTIVE=true # Search for urls by crawling the websites+WAYMORE_TIMEOUT=30m # Timeout for waymore passive URL collection+WAYMORE_LIMIT=5000 # Optional URL collection limit for waymoreURL_GF=true # Url patterns classificationURL_EXT=true # Returns a list of files divided by extensionJSCHECKS=true # JS analysisdiff --git a/config/reconftw_full.cfg b/config/reconftw_full.cfgindex 9d6c87e..d8b865e 100644--- a/config/reconftw_full.cfg+++ b/config/reconftw_full.cfg@@ -56,6 +56,8 @@ GEO_INFO=trueURL_CHECK=trueURL_CHECK_PASSIVE=trueURL_CHECK_ACTIVE=true+WAYMORE_TIMEOUT=45m+WAYMORE_LIMIT=10000URL_GF=trueURL_EXT=trueJSCHECKS=truediff --git a/config/reconftw_quick.cfg b/config/reconftw_quick.cfgindex 631495e..818507b 100644--- a/config/reconftw_quick.cfg+++ b/config/reconftw_quick.cfg@@ -25,6 +25,8 @@ CDN_IP=false# URL checks: passive onlyURL_CHECK_ACTIVE=false+WAYMORE_TIMEOUT=20m+WAYMORE_LIMIT=3000JSCHECKS=falseFUZZ=falseIIS_SHORTNAME=falsediff --git a/config/reconftw_stealth.cfg b/config/reconftw_stealth.cfgindex b52c55c..0338c23 100644--- a/config/reconftw_stealth.cfg+++ b/config/reconftw_stealth.cfg@@ -57,6 +57,8 @@ GEO_INFO=trueURL_CHECK=trueURL_CHECK_PASSIVE=trueURL_CHECK_ACTIVE=false+WAYMORE_TIMEOUT=20m+WAYMORE_LIMIT=2000URL_GF=trueURL_EXT=trueJSCHECKS=falsediff --git a/install.sh b/install.shindex 25d01d8..f74faa7 100755--- a/install.sh+++ b/install.sh@@ -250,6 +250,7 @@ declare -A pipxtools=(["interlace"]="codingo/Interlace"["wafw00f"]="EnableSecurity/wafw00f"["commix"]="commixproject/commix"+ ["waymore"]="xnl-h4ck3r/waymore"["urless"]="xnl-h4ck3r/urless"["ghauri"]="r0oth3x49/ghauri"["xnLinkFinder"]="xnl-h4ck3r/xnLinkFinder"diff --git a/modules/core.sh b/modules/core.shindex 6e7df57..2664a42 100644--- a/modules/core.sh+++ b/modules/core.sh@@ -308,6 +308,7 @@ function tools_installed() {["sourcemapper"]="sourcemapper"["jsluice"]="jsluice"["commix"]="commix"+ ["waymore"]="waymore"["urless"]="urless"["dnstake"]="dnstake"["cent"]="cent"diff --git a/modules/subdomains.sh b/modules/subdomains.shindex ec7037e..010c5ac 100644--- a/modules/subdomains.sh+++ b/modules/subdomains.sh@@ -1079,6 +1079,19 @@ function sub_scraping() {| sed "s/^\*\.//" | unfurl -u domains 2>>"$LOGFILE" | anew -q .tmp/scrap_subs.txtfi+ if command -v waymore &>/dev/null; then+ if ! "$TIMEOUT_CMD" "${WAYMORE_TIMEOUT:-30m}" waymore -i "$domain" -mode U -oU .tmp/waymore_urls_subs.txt 2>>"$LOGFILE" >/dev/null; then+ log_note "sub_scraping: waymore failed or timed out; continuing" "${FUNCNAME[0]}" "${LINENO}"+ fi+ if [[ -s ".tmp/waymore_urls_subs.txt" ]]; then+ cat .tmp/waymore_urls_subs.txt | grep "$domain" \+ | grep -aEo 'https?://[^ ]+' \+ | sed "s/^\*\.//" | unfurl -u domains 2>>"$LOGFILE" | anew -q .tmp/scrap_subs.txt+ fi+ else+ log_note "sub_scraping: waymore not found; skipping waymore passive collection" "${FUNCNAME[0]}" "${LINENO}"+ fi+if [[ $AXIOM != true ]]; thenif ! resolvers_update_quick_local; thenprintf "%b[!] Failed to update resolvers locally.%b\n" "$bred" "$reset"@@ -1106,13 +1119,6 @@ function sub_scraping() {| unfurl -u domains 2>>"$LOGFILE" | anew -q .tmp/scrap_subs.txtfi- if [[ -s ".tmp/probed_tmp_scrap.txt" ]]; then- if [[ $DEEP == true ]]; then- timeout 3h katana -silent -list .tmp/probed_tmp_scrap.txt -jc -kf all -c "$KATANA_THREADS" -d 2 \- -fs rdn -o .tmp/katana.txt 2>>"$LOGFILE" >/dev/null- fi- fi-else# AXIOM modeif ! resolvers_update_quick_axiom; then@@ -1140,21 +1146,6 @@ function sub_scraping() {| unfurl -u domains 2>>"$LOGFILE" | anew -q .tmp/scrap_subs.txtfi- if [[ -s ".tmp/probed_tmp_scrap.txt" ]]; then- if [[ $DEEP == true ]]; then- axiom-scan .tmp/probed_tmp_scrap.txt -m katana -jc -kf all -d 2 -fs rdn \- -o .tmp/katana.txt $AXIOM_EXTRA_ARGS --max-runtime 4h 2>>"$LOGFILE" >/dev/null- fi- fi- fi-- if [[ -s ".tmp/katana.txt" ]]; then- sed_i '/^.\{2048\}./d' .tmp/katana.txt-- cat .tmp/katana.txt | unfurl -u domains 2>>"$LOGFILE" \- | grep "\.${DOMAIN_ESCAPED}$" \- | grep -E '^([a-zA-Z0-9\.\-]+\.)+[a-zA-Z]{1,}$' \- | anew -q .tmp/scrap_subs.txtfiif [[ -s ".tmp/scrap_subs.txt" ]]; thendiff --git a/modules/web.sh b/modules/web.shindex 25a5899..ab19aa4 100644--- a/modules/web.sh+++ b/modules/web.sh@@ -1158,6 +1158,16 @@ function urlchecks() {if [[ $URL_CHECK_PASSIVE == true ]]; thenurlfinder -d $domain -all -o .tmp/url_extract_tmp.txt 2>>"$LOGFILE" >/dev/null+ if command -v waymore &>/dev/null; then+ if ! "$TIMEOUT_CMD" "${WAYMORE_TIMEOUT:-30m}" waymore -i "$domain" -mode U -oU .tmp/waymore_urls.txt 2>>"$LOGFILE" >/dev/null; then+ log_note "urlchecks: waymore failed or timed out; continuing with other passive sources" "${FUNCNAME[0]}" "${LINENO}"+ fi+ if [[ -s ".tmp/waymore_urls.txt" ]]; then+ cat .tmp/waymore_urls.txt | anew -q .tmp/url_extract_tmp.txt || true+ fi+ else+ log_note "urlchecks: waymore not found; skipping passive waymore collection" "${FUNCNAME[0]}" "${LINENO}"+ fiif [[ -s $GITHUB_TOKENS ]]; thengithub-endpoints -q -k -d "$domain" -t "$GITHUB_TOKENS" -o .tmp/github-endpoints.txt 2>>"$LOGFILE" >/dev/nullif [[ -s ".tmp/github-endpoints.txt" ]]; thendiff --git a/reconftw.cfg b/reconftw.cfgindex 7a2af51..cf0a291 100644--- a/reconftw.cfg+++ b/reconftw.cfg@@ -167,6 +167,8 @@ NUCLEI_FLAGS_JS="-silent -tags exposure,token -severity info,low,medium,high,criURL_CHECK=true # Enable or disable URL collectionURL_CHECK_PASSIVE=true # Search for urls, passive methods from Archive, OTX, CommonCrawl, etcURL_CHECK_ACTIVE=true # Search for urls by crawling the websites+WAYMORE_TIMEOUT=30m # Timeout for waymore passive URL collection+WAYMORE_LIMIT=5000 # Optional URL collection limit for waymore (0 means tool default behavior)URL_GF=true # Url patterns classificationURL_EXT=true # Returns a list of files divided by extensionJSCHECKS=true # JS analysis