pub struct SsrfScanner { /* private fields */ }Expand description
Legacy SSRF probe configuration.
Without an OOB domain the phase is inert. Configuring a domain authorizes only bounded delivery of a nonce-bearing callback URL to the exact scan origin. It does not install a callback verifier or draw a security conclusion.
Implementations§
Source§impl SsrfScanner
impl SsrfScanner
Sourcepub fn with_oob_domain(oob_domain: String) -> Self
pub fn with_oob_domain(oob_domain: String) -> Self
Retains the pre-1.0 configuration shape for an opt-in OOB domain.
The domain is validated before any request is dispatched. A bare DNS domain is required; URLs, IP literals, single-label names, and local or internal suffixes fail closed during execution.
Trait Implementations§
Source§impl Debug for SsrfScanner
impl Debug for SsrfScanner
Source§impl Default for SsrfScanner
impl Default for SsrfScanner
Source§impl ScanPhase for SsrfScanner
impl ScanPhase for SsrfScanner
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 SsrfScanner
impl RefUnwindSafe for SsrfScanner
impl Send for SsrfScanner
impl Sync for SsrfScanner
impl Unpin for SsrfScanner
impl UnsafeUnpin for SsrfScanner
impl UnwindSafe for SsrfScanner
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