[][src]Struct feroxbuster::filters::SimilarityFilter

pub struct SimilarityFilter {
    pub text: String,
    pub threshold: u32,
}

Simple implementor of FeroxFilter; used to filter out responses based on the similarity of a Response body with a known response; specified using --filter-similar-to

Fields

text: String

Response's body to be used for comparison for similarity

threshold: u32

Percentage of similarity at which a page is determined to be a near-duplicate of another

Trait Implementations

impl Debug for SimilarityFilter[src]

impl Default for SimilarityFilter[src]

impl FeroxFilter for SimilarityFilter[src]

implementation of FeroxFilter for SimilarityFilter

pub fn should_filter_response(&self, response: &FeroxResponse) -> bool[src]

Check FeroxResponse::text against what was requested from the site passed in via --filter-similar-to

pub fn box_eq(&self, other: &dyn Any) -> bool[src]

Compare one SimilarityFilter to another

pub fn as_any(&self) -> &dyn Any[src]

Return self as Any for dynamic dispatch purposes

impl PartialEq<SimilarityFilter> for SimilarityFilter[src]

impl StructuralPartialEq for SimilarityFilter[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]