Struct feroxbuster::scan_manager::FeroxScan [−][src]
pub struct FeroxScan { /* fields omitted */ }
Expand description
Struct to hold scan-related state
The purpose of this container is to open up the pathway to aborting currently running tasks and serialization of all scan state into a state file in order to resume scans that were cut short
Implementations
Implementation of FeroxScan
small wrapper to set the JoinHandle
small wrapper to set ScanStatus
Simple helper get a progress bar
pub fn new(
url: &str,
scan_type: ScanType,
scan_order: ScanOrder,
num_requests: u64,
output_level: OutputLevel,
pb: Option<ProgressBar>
) -> Arc<Self>
pub fn new(
url: &str,
scan_type: ScanType,
scan_order: ScanOrder,
num_requests: u64,
output_level: OutputLevel,
pb: Option<ProgressBar>
) -> Arc<Self>
Given a URL and ProgressBar, create a new FeroxScan, wrap it in an Arc and return it
small wrapper to inspect ScanType and ScanStatus to see if a Directory scan is running or in the queue to be run
small wrapper to inspect ScanStatus and see if it’s Complete
await a task’s completion, similar to a thread’s join; perform necessary bookkeeping
simple wrapper to call the appropriate getter based on the given PolicyTrigger
return the number of requests per second performed by this scan’s scanner
Trait Implementations
Default implementation for FeroxScan
Deserialize implementation for FeroxScan
Deserialize a FeroxScan from a serde_json::Value
Display implementation
PartialEq implementation; uses FeroxScan.id for comparison
Auto Trait Implementations
impl !RefUnwindSafe for FeroxScan
impl !UnwindSafe for FeroxScan