[][src]Trait feroxbuster::filters::FeroxFilter

pub trait FeroxFilter: Debug + Send + Sync {
    pub fn should_filter_response(&self, response: &FeroxResponse) -> bool;
pub fn box_eq(&self, other: &dyn Any) -> bool;
pub fn as_any(&self) -> &dyn Any; }

FeroxFilter trait; represents different types of possible filters that can be applied to responses

Required methods

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

Determine whether or not this particular filter should be applied or not

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

delegates to the FeroxFilter-implementing type which gives us the actual type of self

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

gives us other as Any in box_eq

Loading content...

Implementors

impl FeroxFilter for LinesFilter[src]

implementation of FeroxFilter for LinesFilter

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

Check line_count against what was passed in via -N|--filter-lines

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

Compare one LinesFilter to another

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

Return self as Any for dynamic dispatch purposes

impl FeroxFilter for SizeFilter[src]

implementation of FeroxFilter for SizeFilter

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

Check content_length against what was passed in via -S|--filter-size

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

Compare one SizeFilter to another

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

Return self as Any for dynamic dispatch purposes

impl FeroxFilter for StatusCodeFilter[src]

implementation of FeroxFilter for StatusCodeFilter

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

Check filter_code against what was passed in via -C|--filter-status

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

Compare one StatusCodeFilter to another

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

Return self as Any for dynamic dispatch purposes

impl FeroxFilter for WildcardFilter[src]

implementation of FeroxFilter for WildcardFilter

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

Examine size, dynamic, and content_len to determine whether or not the response received is a wildcard response and therefore should be filtered out

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

Compare one WildcardFilter to another

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

Return self as Any for dynamic dispatch purposes

impl FeroxFilter for WordsFilter[src]

implementation of FeroxFilter for WordsFilter

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

Check word_count against what was passed in via -W|--filter-words

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

Compare one WordsFilter to another

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

Return self as Any for dynamic dispatch purposes

Loading content...