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