Print results found during interactive mode after exiting it (#445)

This commit is contained in:
Joona Hoikkala 2021-05-14 00:13:24 +03:00 committed by GitHub
parent 5ad06815cd
commit b56de007d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@
- Added a CLI flag to specify TLS SNI value
- Changed
- Fixed an issue where output file was created regardless of `-or`
- Fixed an issue where output (often a lot of it) would be printed after entering interactive mode
- v1.3.1
- New

View File

@ -356,6 +356,7 @@ func (j *Job) runTask(input map[string][]byte, position int, retried bool) {
j.inc429()
}
}
j.pauseWg.Wait()
if j.isMatch(resp) {
// Re-send request through replay-proxy if needed
if j.ReplayRunner != nil {
@ -370,6 +371,7 @@ func (j *Job) runTask(input map[string][]byte, position int, retried bool) {
}
}
j.Output.Result(resp)
// Refresh the progress indicator as we printed something out
j.updateProgress()
if j.Config.Recursion && j.Config.RecursionStrategy == "greedy" {