gobuster-lib/gobustervhost/options.go

22 lines
502 B
Go
Raw Normal View History

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