Skip to content

Commit

Permalink
Print possible parameters with --test flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh1Yo committed Jul 7, 2021
1 parent e8f995a commit 4809676
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,12 @@ pub async fn generate_data(config: &Config, client: &Client, query: &HashMap<Str
response.code,
response.text
).ok();

writeln!(
io::stdout(),
"Possible parameters: {}",
heuristic(&response.text).join(", ")
).ok();
}

//Add %s if it is absent in the body
Expand Down

0 comments on commit 4809676

Please sign in to comment.