mirror of
https://github.com/ffuf/ffuf
synced 2025-02-17 20:38:24 +00:00
Fix jsonlines output while in silent mode (#630)
This commit is contained in:
parent
2ce22175da
commit
b7adc5038d
2 changed files with 3 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
|||
- New
|
||||
- Changed
|
||||
- Fixed issue with autocalibration of line & words filter
|
||||
- Fixed issue with `-json` when used in conjunction with silent mode
|
||||
|
||||
- v1.5.0
|
||||
- New
|
||||
|
|
|
@ -361,10 +361,10 @@ func (s *Stdoutput) writeResultToFile(resp ffuf.Response) string {
|
|||
|
||||
func (s *Stdoutput) PrintResult(res ffuf.Result) {
|
||||
switch {
|
||||
case s.config.Quiet:
|
||||
s.resultQuiet(res)
|
||||
case s.config.Json:
|
||||
s.resultJson(res)
|
||||
case s.config.Quiet:
|
||||
s.resultQuiet(res)
|
||||
case len(res.Input) > 1 || s.config.Verbose || len(s.config.OutputDirectory) > 0:
|
||||
// Print a multi-line result (when using multiple input keywords and wordlists)
|
||||
s.resultMultiline(res)
|
||||
|
|
Loading…
Add table
Reference in a new issue