mirror of
https://github.com/epi052/feroxbuster.git
synced 2026-06-01 04:41:12 -03:00
removed CONFIG global from wildcard
This commit is contained in:
@@ -3,10 +3,7 @@ use std::any::Any;
|
||||
use std::fmt::Debug;
|
||||
|
||||
use crate::ferox_response::FeroxResponse;
|
||||
use crate::{
|
||||
config::CONFIGURATION,
|
||||
traits::{FeroxFilter, FeroxSerialize},
|
||||
};
|
||||
use crate::traits::{FeroxFilter, FeroxSerialize};
|
||||
|
||||
pub use self::container::FeroxFilters;
|
||||
pub use self::lines::LinesFilter;
|
||||
|
||||
@@ -53,7 +53,7 @@ impl FeroxFilter for WildcardFilter {
|
||||
log::trace!("enter: should_filter_response({:?} {})", self, response);
|
||||
|
||||
// quick return if dont_filter is set
|
||||
if CONFIGURATION.dont_filter {
|
||||
if self.dont_filter {
|
||||
// --dont-filter applies specifically to wildcard filters, it is not a 100% catch all
|
||||
// for not filtering anything. As such, it should live in the implementation of
|
||||
// a wildcard filter
|
||||
|
||||
Reference in New Issue
Block a user