attackstr 0.2.1

Grammar-based security payload generation - TOML-driven, composable, encoding-aware
Documentation
1
2
3
4
5
6
7
8
9
//! Legacy Command Injection (`CMDi`) rule payloads.
//!
//! This module isolates legacy static exploitation rules for command injection
//! that are ported directly from older Santh tools.

/// Returns legacy `CMDi` string payloads that bypass basic filtering.
pub fn legacy_cmdi_payloads() -> Vec<&'static str> {
    vec!["; id", "| id", "|| id", "&& id", "$(id)", "`id`", "& id &"]
}