mirror of
https://github.com/epi052/feroxbuster.git
synced 2026-06-10 04:41:13 -03:00
removed lint
This commit is contained in:
@@ -154,9 +154,7 @@ impl ScanHandler {
|
||||
tokio::spawn(async move {
|
||||
while ferox_scans.has_active_scans() {
|
||||
for scan in ferox_scans.get_active_scans() {
|
||||
log::debug!("FAFAFA joining {:?}", scan);
|
||||
scan.join().await;
|
||||
log::debug!("FAFAFA joined {:?}", scan);
|
||||
}
|
||||
}
|
||||
limiter_clone.close();
|
||||
|
||||
@@ -29,8 +29,6 @@ use feroxbuster::{utils::set_open_file_limit, DEFAULT_OPEN_FILE_LIMIT};
|
||||
|
||||
/// Create a HashSet of Strings from the given wordlist then stores it inside an Arc
|
||||
fn get_unique_words_from_wordlist(path: &str) -> Result<Arc<HashSet<String>>> {
|
||||
// todo i'd like to try moving this into the handler and passing the arc into FeroxScanner to
|
||||
// see how that impacts memory usage
|
||||
log::trace!("enter: get_unique_words_from_wordlist({})", path);
|
||||
|
||||
let file = File::open(&path).with_context(|| format!("Could not open {}", path))?;
|
||||
|
||||
Reference in New Issue
Block a user