mirror of
https://github.com/OJ/gobuster.git
synced 2024-05-06 11:16:05 +02:00
22 lines
496 B
Go
22 lines
496 B
Go
package gobustervhost
|
|
|
|
import (
|
|
"github.com/OJ/gobuster/v3/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](),
|
|
}
|
|
}
|