wafrift-detect 0.2.0

WAF detection from response headers and body, response fingerprint drift analysis.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! WAF-specific evasion recommendations.

use crate::waf_detect::rules;

/// Returns recommended evasion strategy names for a detected WAF.
///
/// Looks up the evasion list from the loaded TOML rule database.
/// If the WAF is not known, returns a balanced generic set.
#[must_use]
pub fn suggest_evasion(waf_name: &str) -> Vec<&'static str> {
    rules::suggest_evasion(waf_name)
}