mirror of https://github.com/daffainfo/nuclei.git
Minor UI change
parent
99bfaf2227
commit
0453d6b7f0
|
@ -83,10 +83,8 @@ func makePrintCallback() func(stats clistats.StatisticsClient) {
|
||||||
requests, _ := stats.GetCounter("requests")
|
requests, _ := stats.GetCounter("requests")
|
||||||
total, _ := stats.GetCounter("total")
|
total, _ := stats.GetCounter("total")
|
||||||
|
|
||||||
builder.WriteString(" | ")
|
builder.WriteString(" | RPS: ")
|
||||||
builder.WriteString(clistats.String(uint64(float64(requests) / duration.Seconds())))
|
builder.WriteString(clistats.String(uint64(float64(requests) / duration.Seconds())))
|
||||||
builder.WriteRune(' ')
|
|
||||||
builder.WriteString("RPS")
|
|
||||||
|
|
||||||
errors, _ := stats.GetCounter("errors")
|
errors, _ := stats.GetCounter("errors")
|
||||||
builder.WriteString(" | Errors: ")
|
builder.WriteString(" | Errors: ")
|
||||||
|
|
Loading…
Reference in New Issue