pub struct EvasionPlan {
pub encoding_strategies: Vec<Strategy>,
pub use_grammar: bool,
pub use_header_obfuscation: bool,
pub use_content_type_switch: bool,
pub use_smuggling: bool,
pub use_h2: bool,
pub rationale: Vec<String>,
}Expand description
A recommended evasion plan based on WAF detection.
Fields§
§encoding_strategies: Vec<Strategy>Recommended encoding strategies, in priority order.
use_grammar: boolWhether grammar mutations should be applied.
use_header_obfuscation: boolWhether header obfuscation should be applied.
use_content_type_switch: boolWhether content-type switching should be applied.
use_smuggling: boolWhether smuggling should be attempted.
use_h2: boolWhether H2 evasion should be attempted.
rationale: Vec<String>Rationale for each recommendation.
Trait Implementations§
Source§impl Clone for EvasionPlan
impl Clone for EvasionPlan
Source§fn clone(&self) -> EvasionPlan
fn clone(&self) -> EvasionPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EvasionPlan
impl Debug for EvasionPlan
Source§impl Default for EvasionPlan
impl Default for EvasionPlan
Source§fn default() -> EvasionPlan
fn default() -> EvasionPlan
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EvasionPlan
impl RefUnwindSafe for EvasionPlan
impl Send for EvasionPlan
impl Sync for EvasionPlan
impl Unpin for EvasionPlan
impl UnsafeUnpin for EvasionPlan
impl UnwindSafe for EvasionPlan
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