pub enum ProbeTarget {
SqlKeyword(String),
SqlOperator(String),
SqlComment(String),
SqlQuote,
SqlTautology(String),
XssTag(String),
XssEvent(String),
XssExecFunction(String),
CmdSeparator(String),
CmdCommand(String),
CmdPath(String),
Baseline,
}Expand description
What aspect of WAF detection a probe is testing.
Variants§
SqlKeyword(String)
Tests if the WAF blocks a specific SQL keyword.
SqlOperator(String)
Tests if the WAF blocks SQL comparison operators.
SqlComment(String)
Tests if the WAF blocks SQL comment syntax.
SqlQuote
Tests if the WAF blocks SQL string delimiters.
SqlTautology(String)
Tests if the WAF blocks a tautology pattern.
XssTag(String)
Tests if the WAF blocks XSS-related HTML tags.
XssEvent(String)
Tests if the WAF blocks JavaScript event handlers.
XssExecFunction(String)
Tests if the WAF blocks JavaScript execution functions.
CmdSeparator(String)
Tests if the WAF blocks command injection separators.
CmdCommand(String)
Tests if the WAF blocks specific shell commands.
CmdPath(String)
Tests if the WAF blocks file path patterns.
Baseline
Baseline probe that should never be blocked.
Trait Implementations§
Source§impl Clone for ProbeTarget
impl Clone for ProbeTarget
Source§fn clone(&self) -> ProbeTarget
fn clone(&self) -> ProbeTarget
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 ProbeTarget
impl Debug for ProbeTarget
Source§impl PartialEq for ProbeTarget
impl PartialEq for ProbeTarget
Source§fn eq(&self, other: &ProbeTarget) -> bool
fn eq(&self, other: &ProbeTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ProbeTarget
impl StructuralPartialEq for ProbeTarget
Auto Trait Implementations§
impl Freeze for ProbeTarget
impl RefUnwindSafe for ProbeTarget
impl Send for ProbeTarget
impl Sync for ProbeTarget
impl Unpin for ProbeTarget
impl UnsafeUnpin for ProbeTarget
impl UnwindSafe for ProbeTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.