Compare commits

...

3 Commits

Author SHA1 Message Date
epi
4f31ed1847 ran cargo fmt 2020-11-17 10:44:33 -06:00
epi
a7185f4262 changed optional body read to true 2020-11-17 10:30:43 -06:00
epi
a78f6b714d bumped version to 1.6.1 2020-11-17 10:30:27 -06:00
2 changed files with 3 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "feroxbuster" name = "feroxbuster"
version = "1.6.0" version = "1.6.1"
authors = ["Ben 'epi' Risher <epibar052@gmail.com>"] authors = ["Ben 'epi' Risher <epibar052@gmail.com>"]
license = "MIT" license = "MIT"
edition = "2018" edition = "2018"

View File

@@ -476,7 +476,7 @@ async fn make_requests(
for url in urls { for url in urls {
if let Ok(response) = make_request(&CONFIGURATION.client, &url).await { if let Ok(response) = make_request(&CONFIGURATION.client, &url).await {
// response came back without error, convert it to FeroxResponse // response came back without error, convert it to FeroxResponse
let ferox_response = FeroxResponse::from(response, CONFIGURATION.extract_links).await; let ferox_response = FeroxResponse::from(response, true).await;
// do recursion if appropriate // do recursion if appropriate
if !CONFIGURATION.no_recursion { if !CONFIGURATION.no_recursion {
@@ -519,8 +519,7 @@ async fn make_requests(
Err(_) => continue, Err(_) => continue,
}; };
let mut new_ferox_response = let mut new_ferox_response = FeroxResponse::from(new_response, true).await;
FeroxResponse::from(new_response, CONFIGURATION.extract_links).await;
// filter if necessary // filter if necessary
if should_filter_response(&new_ferox_response) { if should_filter_response(&new_ferox_response) {