pub struct PathSmuggleProbe {
pub canary: Canary,
pub technique: PathNormalizeTechnique,
pub path: String,
}Expand description
One path-normalization smuggle probe.
Fields§
§canary: CanaryPer-probe correlation token.
technique: PathNormalizeTechniqueWhich differential this probe emits.
path: StringCrafted :path value. Splice into the outgoing request line.
Implementations§
Source§impl PathSmuggleProbe
impl PathSmuggleProbe
Sourcepub fn new(technique: PathNormalizeTechnique, protected_path: &str) -> Self
pub fn new(technique: PathNormalizeTechnique, protected_path: &str) -> Self
Build a probe for a given technique + protected path.
protected_path is the resource a WAF gates (typical:
/admin). The probe rewrites it through the chosen
normalization technique.
Trait Implementations§
Source§impl Clone for PathSmuggleProbe
impl Clone for PathSmuggleProbe
Source§fn clone(&self) -> PathSmuggleProbe
fn clone(&self) -> PathSmuggleProbe
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 PathSmuggleProbe
impl Debug for PathSmuggleProbe
Source§impl SmuggleProbe for PathSmuggleProbe
impl SmuggleProbe for PathSmuggleProbe
Source§fn canary(&self) -> &Canary
fn canary(&self) -> &Canary
Per-probe correlation token. Splice into a custom header
(
X-Probe-Id, etc.) so server-side responses can be
attributed to the specific variant that triggered them.Source§fn technique(&self) -> String
fn technique(&self) -> String
Stable technique identifier in
family.variant form. Used
in telemetry, JSON output, and reproducer logs. Example:
"cookie.duplicate-name-last-wins".Source§fn description(&self) -> &str
fn description(&self) -> &str
Human-readable one-line description for operator logs.
Source§fn artifact(&self) -> SmuggleArtifact
fn artifact(&self) -> SmuggleArtifact
The wire artifact this probe produces.
Auto Trait Implementations§
impl Freeze for PathSmuggleProbe
impl RefUnwindSafe for PathSmuggleProbe
impl Send for PathSmuggleProbe
impl Sync for PathSmuggleProbe
impl Unpin for PathSmuggleProbe
impl UnsafeUnpin for PathSmuggleProbe
impl UnwindSafe for PathSmuggleProbe
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