diff --git a/Cargo.toml b/Cargo.toml index daf8621..ab7c62a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "x8" -version = "3.0.1" +version = "3.0.2" authors = ["Alexander Mironov "] edition = "2018" license = "GPL-3.0-or-later" diff --git a/src/utils.rs b/src/utils.rs index d9629c5..647428f 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -475,6 +475,10 @@ pub fn create_output(config: &Config, found_params: Vec) -> String { }, "request" => { generate_request(config, &make_hashmap(&found_params, config.value_size)) + .lines() + .skip(1) + .collect::>() + .join("\n") + "\n" }, _ => { let mut line = format!("{} {} % ", &config.method, &config.initial_url);