force-recursion and no-recursion are mutually exclusive

This commit is contained in:
epi
2022-04-13 16:34:52 -05:00
parent ac7cb5d6b6
commit a9ef7f180f
2 changed files with 2 additions and 1 deletions

View File

@@ -88,7 +88,7 @@ _feroxbuster() {
'--insecure[Disables TLS certificate validation in the client]' \
'-n[Do not scan recursively]' \
'--no-recursion[Do not scan recursively]' \
'--force-recursion[Force recursion attempts on all '\''found'\'' endpoints (still respects recursion depth)]' \
'(-n --no-recursion)--force-recursion[Force recursion attempts on all '\''found'\'' endpoints (still respects recursion depth)]' \
'-e[Extract links from response body (html, javascript, etc...); make new requests based on findings]' \
'--extract-links[Extract links from response body (html, javascript, etc...); make new requests based on findings]' \
'(--auto-bail)--auto-tune[Automatically lower scan rate when an excessive amount of errors are encountered]' \

View File

@@ -430,6 +430,7 @@ pub fn initialize() -> Command<'static> {
).arg(
Arg::new("force_recursion")
.long("force-recursion")
.conflicts_with("no_recursion")
.help_heading("Scan settings")
.help("Force recursion attempts on all 'found' endpoints (still respects recursion depth)"),
).arg(