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

Removed legacy options

six2dezadb9a11fc556
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d45deb8..5730fcb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -116,8 +116,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `gato` as optional GitHub Actions audit module (`github_actions_audit`, output `osint/github_actions_audit.[json|txt]`).
- `julius` as optional LLM endpoint probing module (`llm_probe`, output `webs/llm_probe.[jsonl|txt]`).
- `TInjA` as the default `ssti` engine (`SSTI_ENGINE=TInjA`, with legacy fallback).
- - `second-order` as default `brokenLinks` engine (`BROKENLINKS_ENGINE=second-order`, with legacy fallback).
- - `ghleaks` in `github_leaks` for GitHub-wide secret search across all public repositories (combines GitHub Code Search API with gitleaks detection rules). Configurable via `GITHUB_LEAKS`, `GHLEAKS_THREADS`, and `--exhaustive` mode in DEEP.
+- `second-order` as default `brokenLinks` engine (`BROKENLINKS_ENGINE=second-order`, with legacy fallback).
+- `ghleaks` in `github_leaks` for GitHub-wide secret search across all public repositories (combines GitHub Code Search API with gitleaks detection rules). Configurable via `GITHUB_LEAKS`, `GHLEAKS_THREADS`, and `--exhaustive` mode in DEEP.
+
+### Changed
+- `PERMUTATIONS_ENGINE` is now treated as deprecated/ignored legacy config; gotator is always used for permutations.
+- Removed obsolete/no-op knobs from public config examples and templates: `NUCLEI_FLAGS`, `NUCLEI_FLAGS_JS`, `BRUTESPRAY_THREADS`, `METAFINDER_LIMIT`, `RESOLVE_DOMAINS_THREADS`, `INTRUSIVE`, `FARADAY_SERVER`, `FARADAY_USER`, `FARADAY_PASS`.
+- Removed no-op legacy overrides from lightweight profile examples (`BROKENLINKS_ENGINE`/`SSTI_ENGINE` when module is disabled).
**Progress and UX**
- Progress/ETA functions (`progress_init()`, `progress_step()`) integrated in recon flows.
diff --git a/README.md b/README.md
index 592bfbd..ff44b57 100644
--- a/README.md
+++ b/README.md
@@ -178,9 +178,9 @@ reconFTW is packed with features to make reconnaissance thorough and efficient.
- **SSRF**: Tests for server-side request forgery ([interactsh](https://github.com/projectdiscovery/interactsh), parameter values with [ffuf](https://github.com/ffuf/ffuf), and optional alternate protocol payloads).
- **CRLF**: Checks for CRLF injection vulnerabilities ([crlfuzz](https://github.com/dwisiswant0/crlfuzz)).
- **LFI**: Tests for local file inclusion via fuzzing ([ffuf](https://github.com/ffuf/ffuf)).
-- **SSTI**: Detects server-side template injection ([TInjA](https://github.com/Hackmanit/TInjA), with optional legacy ffuf mode if explicitly selected).
+- **SSTI**: Detects server-side template injection ([TInjA](https://github.com/Hackmanit/TInjA)).
- **SQLi**: Tests for SQL injection ([SQLMap](https://github.com/sqlmapproject/sqlmap) and [ghauri](https://github.com/r0oth3x49/ghauri)).
-- **Broken Links**: Identifies broken links and external references likely to be takeover-prone ([second-order](https://github.com/mhmdiaa/second-order), with legacy katana mode available).
+- **Broken Links**: Identifies broken links and external references likely to be takeover-prone ([second-order](https://github.com/mhmdiaa/second-order)).
- **Command Injection**: Tests for command injection vulnerabilities ([commix](https://github.com/commixproject/commix)).
- **HTTP Request Smuggling**: Checks for request smuggling vulnerabilities ([smugglex](https://github.com/hahwul/smugglex)).
- **Web Cache**: Identifies web cache vulnerabilities ([Web-Cache-Vulnerability-Scanner](https://github.com/Hackmanit/Web-Cache-Vulnerability-Scanner) and [toxicache](https://github.com/xhzeem/toxicache)).
@@ -556,7 +556,6 @@ API_LEAKS=true # Check for API leaks
API_LEAKS_POSTLEAKS=true # Enhance API leaks with postleaksNg
THIRD_PARTIES=true # Check for 3rd parties misconfigs
SPOOF=true # Check spoofable domains
-METAFINDER_LIMIT=20 # Max 250
MAIL_HYGIENE=true # Check DMARC/SPF records
CLOUD_ENUM=true # Enumerate cloud storage across providers with cloud_enum
GITHUB_LEAKS=true # Search for leaked secrets across GitHub with ghleaks
@@ -579,7 +578,6 @@ SUBSCRAPING=true # Subdomains extraction from passive URLs and live web metadata
SUBPERMUTE=true # DNS permutations
SUBIAPERMUTE=true # Permutations by AI analysis
SUBREGEXPERMUTE=true # Permutations by regex analysis
-PERMUTATIONS_ENGINE=gotator # Permutation engine (gotator is the benchmark winner)
GOTATOR_FLAGS=" -depth 1 -numbers 3 -mindup -adv -md" # Flags for gotator
PERMUTATIONS_WORDLIST_MODE=auto # auto|full|short (auto: short if subs > threshold, full if DEEP)
PERMUTATIONS_SHORT_THRESHOLD=100 # Use short wordlist when subdomain count exceeds this
@@ -627,8 +625,6 @@ NUCLEI_TEMPLATES_PATH="$HOME/nuclei-templates" # Set nuclei templates path
NUCLEI_SEVERITY="info,low,medium,high,critical" # Set templates criticity
NUCLEI_EXTRA_ARGS="" # Additional nuclei extra flags, don't set the severity here but the exclusions like " -etags openssh"
#NUCLEI_EXTRA_ARGS="-etags openssh,ssl -eid node-express-dev-env,keycloak-xss,CVE-2023-24044,CVE-2021-20323,header-sql,header-reflection" # Additional nuclei extra flags, don't set the severity here but the exclusions like " -etags openssh"
-NUCLEI_FLAGS="-silent -retries 2" # Additional nuclei extra flags, don't set the severity here but the exclusions like " -etags openssh"
-NUCLEI_FLAGS_JS="-silent -tags exposure,token -severity info,low,medium,high,critical" # Additional nuclei extra flags for js secrets
NUCLEI_DAST=true # Run additional nuclei -dast module over webs/urls/gf candidates (forced on when VULNS_GENERAL=true, e.g. -a)
URL_CHECK=true # Enable or disable URL collection
URL_CHECK_PASSIVE=true # Search for urls, passive methods from Archive, OTX, CommonCrawl, etc
@@ -645,7 +641,7 @@ CMS_SCANNER=true # CMS scanner
WORDLIST=true # Wordlist generation
ROBOTSWORDLIST=true # Check historic disallow entries on waybackMachine
PASSWORD_DICT=true # Generate password dictionary
-PASSWORD_DICT_ENGINE=cewl # cewl|pydictor
+PASSWORD_DICT_ENGINE=cewler # cewler|pydictor
PASSWORD_MIN_LENGTH=5 # Min password length
PASSWORD_MAX_LENGTH=14 # Max password length
KATANA_HEADLESS_PROFILE=off # off|smart|full
@@ -659,12 +655,12 @@ SSRF_CHECKS=true # SSRF checks
CRLF_CHECKS=true # CRLF checks
LFI=true # LFI by fuzzing
SSTI=true # SSTI by fuzzing
-SSTI_ENGINE="TInjA" # SSTI engine: TInjA|legacy
+SSTI_ENGINE="TInjA" # SSTI engine
SQLI=true # Check SQLI
SQLMAP=true # Check SQLI with sqlmap
GHAURI=false # Check SQLI with ghauri
BROKENLINKS=true # Check for brokenlinks
-BROKENLINKS_ENGINE="second-order" # Broken links engine: second-order|legacy
+BROKENLINKS_ENGINE="second-order" # Broken links engine
SPRAY=true # Performs password spraying
SPRAY_ENGINE="brutespray" # brutespray|brutus
SPRAY_BRUTUS_ONLY_DEEP=true # Run brutus only in DEEP mode unless disabled
@@ -702,7 +698,6 @@ FFUF_THREADS=$((AVAILABLE_CORES * 10))
HTTPX_THREADS=$((AVAILABLE_CORES * 12))
HTTPX_UNCOMMONPORTS_THREADS=$((AVAILABLE_CORES * 25))
KATANA_THREADS=$((AVAILABLE_CORES * 5))
-BRUTESPRAY_THREADS=$((AVAILABLE_CORES * 5))
BRUTESPRAY_CONCURRENCE=$((AVAILABLE_CORES * 2))
DNSTAKE_THREADS=$((AVAILABLE_CORES * 25))
DALFOX_THREADS=$((AVAILABLE_CORES * 50))
@@ -713,7 +708,6 @@ PUREDNS_WILDCARDTEST_LIMIT=30
PUREDNS_WILDCARDBATCH_LIMIT=1500000
DNSX_THREADS=25 # Threads for dnsx when behind NAT (safe for home routers)
DNSX_RATE_LIMIT=100 # QPS for dnsx
-RESOLVE_DOMAINS_THREADS=150
DNSVALIDATOR_THREADS=200
INTERLACE_THREADS=10
TLSX_THREADS=1000
@@ -761,9 +755,6 @@ AXIOM_EXTRA_ARGS="" # Leave empty if you don't want to add extra arguments
# Faraday-Server
FARADAY=false # Enable or disable Faraday integration
-FARADAY_SERVER="http://localhost:5985" # Faraday server address
-FARADAY_USER="faraday" # Faraday user
-FARADAY_PASS="FARADAY_PASSWORD" # Faraday password
FARADAY_WORKSPACE="reconftw" # Faraday workspace
# AI
@@ -804,9 +795,6 @@ HOTLIST_TOP=50 # Number of top risky assets to highlight
RESOLVER_IQ=false # Prefer fast/healthy resolvers (experimental)
PERF_PROFILE="balanced" # low|balanced|max
-# Intrusive controls (keep false by default)
-INTRUSIVE=false # Enable intrusive cloud write/CORS tests (dangerous)
-
# Estimated durations for skipped heavy modules (seconds)
TIME_EST_NUCLEI=600
TIME_EST_FUZZ=900
@@ -987,7 +975,7 @@ reconFTW integrates with [Ax](https://github.com/attacksurge/ax) for distributed
reconFTW integrates with [Faraday](https://faradaysec.com/) for web-based reporting and vulnerability management.
-- **Setup**: Install Faraday, authenticate via `faraday-cli`, and configure the workspace in `reconftw.cfg` (`FARADAY_SERVER`, `FARADAY_USER`, `FARADAY_PASS`, `FARADAY_WORKSPACE`).
+- **Setup**: Install Faraday, authenticate via `faraday-cli`, and configure the workspace in `reconftw.cfg` (`FARADAY_WORKSPACE`).
- **Usage**: Enable with `FARADAY=true` in `reconftw.cfg`.
---
diff --git a/Terraform/files/reconftw.cfg b/Terraform/files/reconftw.cfg
index f7c7aad..c1c8d01 100644
--- a/Terraform/files/reconftw.cfg
+++ b/Terraform/files/reconftw.cfg
@@ -60,7 +60,6 @@ EMAILS=true # Fetch emails from differents sites
DOMAIN_INFO=true # whois info
IP_INFO=true # Reverse IP search, geolocation and whois
API_LEAKS=true # Check for postman leaks
-METAFINDER_LIMIT=20 # Max 250
# Subdomains
SUBDOMAINS_GENERAL=true # Enable or disable the whole Subdomains module
@@ -73,7 +72,6 @@ SUBBRUTE=true # DNS bruteforcing
SUBSCRAPING=true # Subdomains extraction from web crawling
SUBPERMUTE=true # DNS permutations
SUBREGEXPERMUTE=true # Permutations by regex analysis
-PERMUTATIONS_ENGINE=gotator # Permutation engine (gotator is the benchmark winner)
GOTATOR_FLAGS=" -depth 1 -numbers 3 -mindup -adv -md" # Flags for gotator
PERMUTATIONS_WORDLIST_MODE=auto # auto|full|short (auto: short if subs > threshold, full if DEEP)
PERMUTATIONS_SHORT_THRESHOLD=100 # Use short wordlist when subdomain count exceeds this
@@ -111,8 +109,6 @@ WAF_DETECTION=true # Detect WAFs
NUCLEICHECK=true # Enable or disable nuclei
NUCLEI_TEMPLATES_PATH="$HOME/nuclei-templates" # Set nuclei templates path
NUCLEI_SEVERITY="info,low,medium,high,critical" # Set templates criticity
-NUCLEI_FLAGS=" -silent -t ${NUCLEI_TEMPLATES_PATH}/ -retries 2" # Additional nuclei extra flags, don't set the severity here but the exclusions like " -etags openssh"
-NUCLEI_FLAGS_JS=" -silent -tags exposure,token -severity info,low,medium,high,critical" # Additional nuclei extra flags for js secrets
URL_CHECK=true # Enable or disable URL collection
URL_CHECK_PASSIVE=true # Search for urls, passive methods from Archive, OTX, CommonCrawl, etc
URL_CHECK_ACTIVE=true # Search for urls by crawling the websites
@@ -170,7 +166,6 @@ FFUF_THREADS=40
HTTPX_THREADS=50
HTTPX_UNCOMMONPORTS_THREADS=100
KATANA_THREADS=20
-BRUTESPRAY_THREADS=20
BRUTESPRAY_CONCURRENCE=10
DNSTAKE_THREADS=100
DALFOX_THREADS=200
@@ -182,7 +177,6 @@ PUREDNS_WILDCARDBATCH_LIMIT=1500000
DNSX_THREADS=25 # Threads for dnsx when behind NAT (safe for home routers)
DNSX_RATE_LIMIT=100 # QPS for dnsx
GOWITNESS_THREADS=20
-RESOLVE_DOMAINS_THREADS=150
PPFUZZ_THREADS=30
DNSVALIDATOR_THREADS=200
INTERLACE_THREADS=10
diff --git a/config/reconftw_quick.cfg b/config/reconftw_quick.cfg
index 089e521..3a0f3ed 100644
--- a/config/reconftw_quick.cfg
+++ b/config/reconftw_quick.cfg
@@ -58,8 +58,6 @@ BYPASSER4XX=false
FUZZPARAMS=false
NUCLEI_DAST=false
WEBCACHE_TOXICACHE=false
-BROKENLINKS_ENGINE="legacy"
-SSTI_ENGINE="TInjA"
# Disable heavy extras
GRAPHQL_CHECK=false
diff --git a/config/reconftw_stealth.cfg b/config/reconftw_stealth.cfg
index c4d43ba..9971075 100644
--- a/config/reconftw_stealth.cfg
+++ b/config/reconftw_stealth.cfg
@@ -92,8 +92,6 @@ BYPASSER4XX=false
FUZZPARAMS=false
NUCLEI_DAST=false
WEBCACHE_TOXICACHE=false
-BROKENLINKS_ENGINE="legacy"
-SSTI_ENGINE="TInjA"
# Nuclei: only safe templates
NUCLEICHECK=true
diff --git a/modules/utils.sh b/modules/utils.sh
index 6c56739..c5b417b 100644
--- a/modules/utils.sh
+++ b/modules/utils.sh
@@ -107,11 +107,17 @@ function validate_config() {
warnings=$((warnings + 1))
fi
- # Validate enum-like config knobs (warn-only; runtime uses safe defaults)
+ # Legacy/no-op config knobs (warn-only; runtime uses safe defaults)
if [[ -n "${PERMUTATIONS_ENGINE:-}" && "${PERMUTATIONS_ENGINE}" != "gotator" ]]; then
- print_warnf "PERMUTATIONS_ENGINE now only supports 'gotator' (got '%s')" "$PERMUTATIONS_ENGINE"
+ print_warnf "PERMUTATIONS_ENGINE is deprecated/ignored (got '%s'); gotator is always used" "$PERMUTATIONS_ENGINE"
warnings=$((warnings + 1))
fi
+ for deprecated_noop in NUCLEI_FLAGS NUCLEI_FLAGS_JS BRUTESPRAY_THREADS METAFINDER_LIMIT RESOLVE_DOMAINS_THREADS INTRUSIVE FARADAY_SERVER FARADAY_USER FARADAY_PASS; do
+ if [[ -n "${!deprecated_noop:-}" ]]; then
+ print_warnf "%s is deprecated/removed; set it in config has no effect anymore" "$deprecated_noop"
+ warnings=$((warnings + 1))
+ fi
+ done
if [[ -n "${PERMUTATIONS_WORDLIST_MODE:-}" ]]; then
case "${PERMUTATIONS_WORDLIST_MODE}" in
auto|full|short) : ;;
diff --git a/reconftw.cfg b/reconftw.cfg
index 000689f..11e0ff7 100644
--- a/reconftw.cfg
+++ b/reconftw.cfg
@@ -121,16 +121,15 @@ POSTLEAKS_INCLUDE="" # Optional include filter for postleaksNg URL results
POSTLEAKS_EXCLUDE="" # Optional exclude filter for postleaksNg URL results
THIRD_PARTIES=true # Check for 3rd parties misconfigs
SPOOF=true # Check spoofable domains
-METAFINDER_LIMIT=20 # Max 250
MAIL_HYGIENE=true # Check DMARC/SPF records
CLOUD_ENUM=true # Enumerate cloud storage across providers with cloud_enum
GITHUB_LEAKS=true # Search for leaked secrets across all of GitHub with ghleaks
GHLEAKS_THREADS=5 # Concurrent download threads for ghleaks
-SECRETS_ENGINE="gitleaks" # gitleaks|titus|noseyparker|hybrid
-SECRETS_SCAN_GIT_HISTORY=false # Include git history scans when supported by selected secrets engine
+SECRETS_ENGINE="hybrid" # gitleaks|titus|noseyparker|hybrid
+SECRETS_SCAN_GIT_HISTORY=true # Include git history scans when supported by selected secrets engine
SECRETS_VALIDATE=false # Validate secrets against provider APIs when supported (currently titus)
-GITHUB_ACTIONS_AUDIT=false # Audit GitHub Actions artifacts/workflows with gato
-GATO_INCLUDE_ALL_ARTIFACT_SECRETS=false # Include noisy artifact secret matches in gato results
+GITHUB_ACTIONS_AUDIT=true # Audit GitHub Actions artifacts/workflows with gato
+GATO_INCLUDE_ALL_ARTIFACT_SECRETS=true # Include noisy artifact secret matches in gato results
# Subdomains
SUBDOMAINS_GENERAL=true # Enable or disable the whole Subdomains module
@@ -148,7 +147,6 @@ SUBSCRAPING=true # Subdomains extraction from web crawling
SUBPERMUTE=true # DNS permutations
SUBIAPERMUTE=true # Permutations by AI analysis
SUBREGEXPERMUTE=true # Permutations by regex analysis
-PERMUTATIONS_ENGINE=gotator # Permutation engine (gotator is the benchmark winner)
GOTATOR_FLAGS=" -depth 1 -numbers 3 -mindup -adv -md" # Flags for gotator
PERMUTATIONS_WORDLIST_MODE=auto # auto|full|short (auto: short if subs > threshold, full if DEEP)
PERMUTATIONS_SHORT_THRESHOLD=100 # Use short wordlist when subdomain count exceeds this
@@ -200,8 +198,6 @@ NUCLEI_TEMPLATES_PATH="$HOME/nuclei-templates" # Set nuclei templates path
NUCLEI_SEVERITY="info,low,medium,high,critical" # Set templates criticity
NUCLEI_EXTRA_ARGS="" # Additional nuclei extra flags, don't set the severity here but the exclusions like " -etags openssh"
#NUCLEI_EXTRA_ARGS="-etags openssh,ssl -eid node-express-dev-env,keycloak-xss,CVE-2023-24044,CVE-2021-20323,header-sql,header-reflection" # Additional nuclei extra flags, don't set the severity here but the exclusions like " -etags openssh"
-NUCLEI_FLAGS="-silent -retries 2" # Additional nuclei extra flags, don't set the severity here but the exclusions like " -etags openssh"
-NUCLEI_FLAGS_JS="-silent -tags exposure,token -severity info,low,medium,high,critical" # Additional nuclei extra flags for js secrets
URL_CHECK=true # Enable or disable URL collection
URL_CHECK_PASSIVE=true # Search for urls, passive methods from Archive, OTX, CommonCrawl, etc
URL_CHECK_ACTIVE=true # Search for urls by crawling the websites
@@ -323,7 +319,6 @@ FFUF_THREADS=$((AVAILABLE_CORES * 10))
HTTPX_THREADS=$((AVAILABLE_CORES * 12))
HTTPX_UNCOMMONPORTS_THREADS=$((AVAILABLE_CORES * 25))
KATANA_THREADS=$((AVAILABLE_CORES * 5))
-BRUTESPRAY_THREADS=$((AVAILABLE_CORES * 5))
BRUTESPRAY_CONCURRENCE=$((AVAILABLE_CORES * 2))
DNSTAKE_THREADS=$((AVAILABLE_CORES * 25))
DALFOX_THREADS=$((AVAILABLE_CORES * 50))
@@ -334,7 +329,6 @@ PUREDNS_WILDCARDTEST_LIMIT=30
PUREDNS_WILDCARDBATCH_LIMIT=1500000
DNSX_THREADS=25 # Threads for dnsx when behind NAT (safe for home routers)
DNSX_RATE_LIMIT=100 # QPS for dnsx
-RESOLVE_DOMAINS_THREADS=150
DNSVALIDATOR_THREADS=200
INTERLACE_THREADS=10
TLSX_THREADS=1000
@@ -382,9 +376,6 @@ AXIOM_EXTRA_ARGS="" # Leave empty if you don't want to add extra arguments
# Faraday-Server
FARADAY=false # Enable or disable Faraday integration
-FARADAY_SERVER="http://localhost:5985" # Faraday server address
-FARADAY_USER="${FARADAY_USER:-faraday}" # Faraday user (set via env var or secrets.cfg)
-FARADAY_PASS="${FARADAY_PASS:-}" # Faraday password (set via env var or secrets.cfg, never hardcode)
FARADAY_WORKSPACE="reconftw" # Faraday workspace
# AI
@@ -424,9 +415,6 @@ HOTLIST_TOP=50 # Number of top risky assets to highlight
# Performance
RESOLVER_IQ=false # Prefer fast/healthy resolvers (experimental)
-# Intrusive controls (keep false by default)
-INTRUSIVE=false # Enable intrusive cloud write/CORS tests (dangerous)
-
# Estimated durations for skipped heavy modules (seconds)
TIME_EST_NUCLEI=600
TIME_EST_FUZZ=900
diff --git a/tests/unit/test_utils.bats b/tests/unit/test_utils.bats
index acafc0d..d0d3d44 100644
--- a/tests/unit/test_utils.bats
+++ b/tests/unit/test_utils.bats
@@ -77,6 +77,27 @@ setup() {
[[ "$output" == *"ERROR"* ]]
}
+@test "validate_config accepts PERMUTATIONS_ENGINE=gotator without warning" {
+ export PERMUTATIONS_ENGINE="gotator"
+ run validate_config
+ [ "$status" -eq 0 ]
+ [[ "$output" != *"PERMUTATIONS_ENGINE is deprecated/ignored"* ]]
+}
+
+@test "validate_config warns when PERMUTATIONS_ENGINE is legacy non-gotator value" {
+ export PERMUTATIONS_ENGINE="alterx"
+ run validate_config
+ [ "$status" -eq 0 ]
+ [[ "$output" == *"PERMUTATIONS_ENGINE is deprecated/ignored"* ]]
+}
+
+@test "validate_config warns for deprecated no-op config knobs" {
+ export NUCLEI_FLAGS="-silent"
+ run validate_config
+ [ "$status" -eq 0 ]
+ [[ "$output" == *"NUCLEI_FLAGS is deprecated/removed"* ]]
+}
+
@test "error codes are defined" {
[ "$E_SUCCESS" -eq 0 ]
[ "$E_GENERAL" -eq 1 ]