gobuster-lib/gobusterfuzz/options.go

24 lines
630 B
Go
Raw Normal View History

2024-09-04 20:15:35 +00:00
package gobusterfuzz
import (
"git.sual.in/casual/gobuster-lib/libgobuster"
)
// OptionsFuzz is the struct to hold all options for this plugin
type OptionsFuzz struct {
libgobuster.HTTPOptions
ExcludedStatusCodes string
ExcludedStatusCodesParsed libgobuster.Set[int]
ExcludeLength string
ExcludeLengthParsed libgobuster.Set[int]
RequestBody string
}
// NewOptionsFuzz returns a new initialized OptionsFuzz
func NewOptionsFuzz() *OptionsFuzz {
return &OptionsFuzz{
ExcludedStatusCodesParsed: libgobuster.NewSet[int](),
ExcludeLengthParsed: libgobuster.NewSet[int](),
}
}