Documentation
¶
Overview ¶
Package stats implements a statistics recording module for nuclei fuzzing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSimpleStats ¶
func NewSimpleStats() (*simpleStats, error)
Types ¶
type ComponentEvent ¶
type ErrorEvent ¶
type FuzzingEvent ¶
type FuzzingEvent struct { URL string ComponentType string ComponentName string TemplateID string PayloadSent string StatusCode int Matched bool RawRequest string RawResponse string Severity string // contains filtered or unexported fields }
FuzzingEvent is a fuzzing event
type SimpleStatsResponse ¶
type StatsDatabase ¶
type StatsDatabase interface { Close() InsertComponent(event ComponentEvent) error InsertMatchedRecord(event FuzzingEvent) error InsertError(event ErrorEvent) error }
type Tracker ¶
type Tracker struct {
// contains filtered or unexported fields
}
Tracker is a stats tracker module for fuzzing server
func (*Tracker) GetStats ¶
func (t *Tracker) GetStats() SimpleStatsResponse
func (*Tracker) RecordComponentEvent ¶
func (t *Tracker) RecordComponentEvent(event ComponentEvent)
func (*Tracker) RecordErrorEvent ¶
func (t *Tracker) RecordErrorEvent(event ErrorEvent)
func (*Tracker) RecordResultEvent ¶
func (t *Tracker) RecordResultEvent(event FuzzingEvent)
Click to show internal directories.
Click to hide internal directories.