[−][src]Struct feroxbuster::scanner::SCANNED_URLS
Set of urls that have been sent to scan_url, used for deduplication
Methods from Deref<Target = FeroxScans>
pub fn insert(&self, scan: Arc<Mutex<FeroxScan>>) -> bool
[src]
Add a FeroxScan
to the internal container
If the internal container did NOT contain the scan, true is returned; else false
pub fn contains(&self, url: &str) -> bool
[src]
Simple check for whether or not a FeroxScan is contained within the inner container based on the given URL
pub fn get_scan_by_url(&self, url: &str) -> Option<Arc<Mutex<FeroxScan>>>
[src]
Find and return a FeroxScan
based on the given URL
pub fn display_scans(&self)
[src]
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
pub fn print_known_responses(&self)
[src]
prints all known responses that the scanner has already seen
pub async fn pause(&self, get_user_input: bool)
[src]
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
pub fn add_directory_scan(
&self,
url: &str,
stats: Arc<Stats>
) -> (bool, Arc<Mutex<FeroxScan>>)
[src]
&self,
url: &str,
stats: Arc<Stats>
) -> (bool, Arc<Mutex<FeroxScan>>)
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
pub fn add_file_scan(
&self,
url: &str,
stats: Arc<Stats>
) -> (bool, Arc<Mutex<FeroxScan>>)
[src]
&self,
url: &str,
stats: Arc<Stats>
) -> (bool, Arc<Mutex<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
Trait Implementations
impl Deref for SCANNED_URLS
[src]
type Target = FeroxScans
The resulting type after dereferencing.
pub fn deref(&self) -> &FeroxScans
[src]
impl LazyStatic for SCANNED_URLS
[src]
pub fn initialize(lazy: &Self)
[src]
Auto Trait Implementations
impl RefUnwindSafe for SCANNED_URLS
[src]
impl Send for SCANNED_URLS
[src]
impl Sync for SCANNED_URLS
[src]
impl Unpin for SCANNED_URLS
[src]
impl UnwindSafe for SCANNED_URLS
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,