pub struct HtmlEntityVariantsTamper;Expand description
HTML entity variants tamper — rotates each char through 4 browser-tolerant
forms (lowercase-x hex, uppercase-X hex, decimal, zero-padded decimal).
Defeats WAF regexes that anchor on the canonical &#xHH; form only.
Trait Implementations§
Source§impl TamperStrategy for HtmlEntityVariantsTamper
impl TamperStrategy for HtmlEntityVariantsTamper
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 HtmlEntityVariantsTamper
impl RefUnwindSafe for HtmlEntityVariantsTamper
impl Send for HtmlEntityVariantsTamper
impl Sync for HtmlEntityVariantsTamper
impl Unpin for HtmlEntityVariantsTamper
impl UnsafeUnpin for HtmlEntityVariantsTamper
impl UnwindSafe for HtmlEntityVariantsTamper
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