Documentation
¶
Overview ¶
Package stats provides a stats tracker for tracking Status Codes, Errors & WAF detection events.
It is wrapped and called by output.Writer interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatsOutput ¶
type Tracker ¶
type Tracker struct {
// contains filtered or unexported fields
}
Tracker is a stats tracker instance for nuclei scans
func (*Tracker) DisplayTopStats ¶
DisplayTopStats prints the most relevant statistics for CLI
func (*Tracker) GetStats ¶
func (t *Tracker) GetStats() *StatsOutput
func (*Tracker) TrackErrorKind ¶
TrackErrorKind tracks the error kind of a request
func (*Tracker) TrackStatusCode ¶
TrackStatusCode tracks the status code of a request
func (*Tracker) TrackWAFDetected ¶
TrackWAFDetected tracks the waf detected of a request
First it detects if a waf is running and if so, it increments the counter for the waf.
Click to show internal directories.
Click to hide internal directories.