24 lines
630 B
Go
24 lines
630 B
Go
|
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](),
|
||
|
}
|
||
|
}
|