Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix false positives #34

Merged
merged 3 commits into from
Sep 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/fuzzbuster/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,13 @@ impl FuzzBuster {

match &msg.error {
Some(e) => {
error!("{:?}", e);
error!("{} - {:?}", msg.url, e);
if current_numbers_of_request == 1 || self.exit_on_connection_errors {
warn!("Check connectivity to the target");
break;
}

continue;
}
None => (),
}
Expand Down Expand Up @@ -190,7 +192,7 @@ impl FuzzBuster {
let tx_err2 = tx.clone();
let mut target = SingleFuzzScanResult {
url: request.uri.to_string(),
method: Method::GET.to_string(),
method: request.http_method.clone(),
status: StatusCode::default().to_string(),
payload: request.payload.clone(),
body: request.http_body.clone(),
Expand Down
8 changes: 6 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,14 @@ fn main() {

match &msg.error {
Some(e) => {
error!("{:?}", e);
error!("{} - {:?}", msg.url, e);
if current_numbers_of_request == 1 || common_args.exit_on_connection_errors
{
warn!("Check connectivity to the target");
break;
}

continue;
}
None => (),
}
Expand Down Expand Up @@ -407,12 +409,14 @@ fn main() {

match &msg.error {
Some(e) => {
error!("{:?}", e);
error!("{} - {:?}", msg.vhost, e);
if current_numbers_of_request == 1 || common_args.exit_on_connection_errors
{
warn!("Check connectivity to the target");
break;
}

continue;
}
None => (),
}
Expand Down
4 changes: 3 additions & 1 deletion src/tildebuster/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,13 @@ impl TildeBuster {

match &msg.error {
Some(e) => {
error!("{:?}", e);
error!("{} - {:?}", msg.request.url, e);
if current_numbers_of_request == 1 || exit_on_connection_errors {
warn!("Check connectivity to the target");
break;
}

continue;
}
None => match msg.kind {
FSObject::NotVulnerable => {
Expand Down