1
1
mirror of https://github.com/OJ/gobuster.git synced 2025-09-18 00:21:25 +02:00
gobuster/gobusterfuzz/options.go
2023-08-31 18:40:56 +02:00

24 lines
616 B
Go

package gobusterfuzz
import (
"github.com/OJ/gobuster/v3/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
}
// NewOptions returns a new initialized OptionsFuzz
func NewOptions() *OptionsFuzz {
return &OptionsFuzz{
ExcludedStatusCodesParsed: libgobuster.NewSet[int](),
ExcludeLengthParsed: libgobuster.NewSet[int](),
}
}