pub struct MathBoldTamper;Expand description
Mathematical Alphanumeric Symbols tamper — replaces ASCII letters/digits
with their U+1D400-block Math Bold counterparts. Both NFKC-normalise
back to ASCII, so backends that normalise (Postgres ICU, MySQL
utf8mb4_0900_ai_ci, Java/.NET/Python/Go NFKC) execute the original
keyword while WAF byte-regex sees U+1D4xx codepoints and misses.
Distinct from bracket_confusable / fullwidth: those use the
U+FF00 block. Math Bold lives in U+1D400 — different range,
different blocklist coverage gap.
Trait Implementations§
Source§impl TamperStrategy for MathBoldTamper
impl TamperStrategy for MathBoldTamper
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Returns a description of what this strategy does.
Source§fn tamper(&self, payload: &str, _context: Option<&str>) -> String
fn tamper(&self, payload: &str, _context: Option<&str>) -> String
Transforms the input payload. Read more
Source§fn aggressiveness(&self) -> f64
fn aggressiveness(&self) -> f64
Returns the aggressiveness score (0.0 = mild, 1.0 = extreme).
Auto Trait Implementations§
impl Freeze for MathBoldTamper
impl RefUnwindSafe for MathBoldTamper
impl Send for MathBoldTamper
impl Sync for MathBoldTamper
impl Unpin for MathBoldTamper
impl UnsafeUnpin for MathBoldTamper
impl UnwindSafe for MathBoldTamper
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more