pub struct Config {Show 23 fields
pub max_endpoints: usize,
pub concurrency: usize,
pub toggles: ScannerToggles,
pub politeness: PolitenessConfig,
pub waf_evasion: WafEvasionConfig,
pub default_headers: Vec<(String, String)>,
pub cookies: Vec<(String, String)>,
pub proxy: Option<String>,
pub danger_accept_invalid_certs: bool,
pub active_checks: bool,
pub dry_run: bool,
pub stream_findings: bool,
pub baseline_path: Option<PathBuf>,
pub session_file: Option<PathBuf>,
pub auth_bearer: Option<String>,
pub auth_basic: Option<String>,
pub auth_flow: Option<PathBuf>,
pub auth_flow_b: Option<PathBuf>,
pub unauth_strip_headers: Vec<String>,
pub per_host_clients: bool,
pub adaptive_concurrency: bool,
pub no_discovery: bool,
pub quiet: bool,
}Expand description
Top-level configuration produced by CLI arg parsing in main.rs.
Fields§
§max_endpoints: usizeMaximum number of URLs to scan. usize::MAX means unlimited.
concurrency: usizeNumber of URLs scanned concurrently (semaphore width).
toggles: ScannerTogglesPer-scanner enable / disable switches.
politeness: PolitenessConfigRate-limiting / retry knobs.
waf_evasion: WafEvasionConfigWAF-evasion settings.
default_headers: Vec<(String, String)>Default headers applied to every request.
Cookies applied to every request.
proxy: Option<String>Optional HTTP/HTTPS proxy URL.
danger_accept_invalid_certs: boolAccept invalid TLS certificates (dangerous).
active_checks: boolEnable active (potentially invasive) checks.
dry_run: boolDo not send active-check mutation requests; emit informational “would test” findings.
stream_findings: boolEnable streaming NDJSON findings (reports while scan is running).
baseline_path: Option<PathBuf>Optional baseline NDJSON file for diffing (suppress known findings).
session_file: Option<PathBuf>Optional session cookie file (JSON) to load/save.
auth_bearer: Option<String>Optional auth helpers.
auth_basic: Option<String>§auth_flow: Option<PathBuf>Optional auth flow descriptor (loaded from –auth-flow file).
auth_flow_b: Option<PathBuf>Second credential set for cross-user IDOR checks (–auth-flow-b).
unauth_strip_headers: Vec<String>Additional auth-like headers to strip for unauthenticated probes.
per_host_clients: boolEnable per-host HTTP client pools.
adaptive_concurrency: boolEnable adaptive concurrency.
no_discovery: boolSkip endpoint discovery and scan only provided seed URLs.
quiet: boolSuppress verbose progress output.