Skip to content

Commit

Permalink
replace badchar with a space (#390)
Browse files Browse the repository at this point in the history
* replace badchar with a space

* add noraj to contribs

* add changelog

* remove PR ref & shoutouts

Co-authored-by: Joona Hoikkala <joohoi@users.noreply.github.com>

* re-order

Co-authored-by: Joona Hoikkala <joohoi@users.noreply.github.com>
  • Loading branch information
noraj and joohoi committed Feb 23, 2021
1 parent 0c99194 commit f1c39be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- New
- All output file formats now include the `Content-Type`.
- Changed
- Fix a badchar in progress output

- v1.2.1
- Changed
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* [Kiblyn11](https://github.com/Kiblyn11)
* [lc](https://github.com/lc)
* [nnwakelam](https://twitter.com/nnwakelam)
* [noraj](https://pwn.by/noraj)
* [oh6hay](https://github.com/oh6hay)
* [putsi](https://github.com/putsi)
* [SakiiR](https://github.com/SakiiR)
Expand Down
2 changes: 1 addition & 1 deletion pkg/output/stdout.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (s *Stdoutput) Progress(status ffuf.Progress) {
dur -= mins * time.Minute
secs := dur / time.Second

fmt.Fprintf(os.Stderr, "%s:: Progress: [%d/%d] :: Job [%d/%d] :: %d req/sec :: Duration: [%d:%02d:%02d] :: Errors: %d ::", TERMINAL_CLEAR_LINE, status.ReqCount, status.ReqTotal, status.QueuePos, status.QueueTotal, reqRate, hours, mins, secs, status.ErrorCount)
fmt.Fprintf(os.Stderr, "%s:: Progress: [%d/%d] :: Job [%d/%d] :: %d req/sec :: Duration: [%d:%02d:%02d] :: Errors: %d ::", TERMINAL_CLEAR_LINE, status.ReqCount, status.ReqTotal, status.QueuePos, status.QueueTotal, reqRate, hours, mins, secs, status.ErrorCount)
}

func (s *Stdoutput) Info(infostring string) {
Expand Down

0 comments on commit f1c39be

Please sign in to comment.