pub struct LfiXxeScanner { /* private fields */ }Expand description
Legacy phase-eight observer with risky probes disabled by default.
Implementations§
Source§impl LfiXxeScanner
impl LfiXxeScanner
Sourcepub fn with_oob_domain(oob_domain: String) -> Self
pub fn with_oob_domain(oob_domain: String) -> Self
Retains the historical configuration shape without treating a destination string as callback proof.
No callback is contacted and no XXE request is dispatched. A future callback-capable API must accept a trusted verifier that returns a nonce-correlated receipt before it can support an OOB conclusion.
Sourcepub fn with_lfi_canary(
file_id: Uuid,
content_id: Uuid,
) -> Result<Self, ScannerError>
pub fn with_lfi_canary( file_id: Uuid, content_id: Uuid, ) -> Result<Self, ScannerError>
Enables verification with a benign host-provisioned canary.
The authorized fixture must expose the file through the tested query
parameter while the file body contains exactly
VENOM_LFI_CANARY_CONTENT_<content UUID without hyphens>. The UUIDs
must be distinct version-four values so neither the requested name nor
ordinary baseline text can predict the file-specific marker.
Trait Implementations§
Source§impl Clone for LfiXxeScanner
impl Clone for LfiXxeScanner
Source§fn clone(&self) -> LfiXxeScanner
fn clone(&self) -> LfiXxeScanner
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 LfiXxeScanner
impl Debug for LfiXxeScanner
Source§impl Default for LfiXxeScanner
impl Default for LfiXxeScanner
Source§impl ScanPhase for LfiXxeScanner
impl ScanPhase for LfiXxeScanner
Source§fn phase_number(&self) -> u8
fn phase_number(&self) -> u8
Phase number used to order the pipeline.
Source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 ScanContext,
) -> Pin<Box<dyn Future<Output = Result<Vec<ScanFinding>, ScannerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 ScanContext,
) -> Pin<Box<dyn Future<Output = Result<Vec<ScanFinding>, ScannerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Execute phase logic and return structured findings.
Auto Trait Implementations§
impl Freeze for LfiXxeScanner
impl RefUnwindSafe for LfiXxeScanner
impl Send for LfiXxeScanner
impl Sync for LfiXxeScanner
impl Unpin for LfiXxeScanner
impl UnsafeUnpin for LfiXxeScanner
impl UnwindSafe for LfiXxeScanner
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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