Struct feroxbuster::scan_manager::FeroxScans[][src]

pub struct FeroxScans {
    pub scans: RwLock<Vec<Arc<FeroxScan>>>,
    // some fields omitted
}
Expand description

Container around a locked hashset of FeroxScans, adds wrappers for insertion and searching

Fields

scans: RwLock<Vec<Arc<FeroxScan>>>

Internal structure: locked hashset of FeroxScans

Implementations

Implementation of FeroxScans

given an OutputLevel, create a new FeroxScans object

Add a FeroxScan to the internal container

If the internal container did NOT contain the scan, true is returned; else false

load serialized FeroxScan(s) into this FeroxScans

Simple check for whether or not a FeroxScan is contained within the inner container based on the given URL

Find and return a FeroxScan based on the given URL

add one to either 403 or 429 tracker in the scan related to the given url

add one to either 403 or 429 tracker in the scan related to the given url

Print all FeroxScans of type Directory

Example: 0: complete https://10.129.45.20 9: complete https://10.129.45.20/images 10: complete https://10.129.45.20/assets

prints all known responses that the scanner has already seen

if a resumed scan is already complete, display a completed progress bar to the user

Forced the calling thread into a busy loop

Every SLEEP_DURATION milliseconds, the function examines the result stored in PAUSE_SCAN

When the value stored in PAUSE_SCAN becomes false, the function returns, exiting the busy loop

set the bar length of FeroxScans

Given a url, create a new FeroxScan and add it to FeroxScans as a Directory Scan

If FeroxScans did not already contain the scan, return true; otherwise return false

Also return a reference to the new FeroxScan

Given a url, create a new FeroxScan and add it to FeroxScans as a File Scan

If FeroxScans did not already contain the scan, return true; otherwise return false

Also return a reference to the new FeroxScan

small helper to determine whether any scans are active or not

Retrieve all active scans

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Serialize implementation for FeroxScans

purposefully skips menu attribute

Function that handles serialization of FeroxScans

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.