1
1
mirror of https://github.com/OJ/gobuster.git synced 2025-07-15 21:04:16 +02:00
gobuster/gobustervhost/options.go
2023-10-29 22:29:48 +01:00

25 lines
606 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]
ExcludeStatus string
ExcludeStatusParsed libgobuster.Set[int]
Domain string
}
// NewOptions returns a new initialized OptionsVhost
func NewOptions() *OptionsVhost {
return &OptionsVhost{
ExcludeLengthParsed: libgobuster.NewSet[int](),
ExcludeStatusParsed: libgobuster.NewSet[int](),
}
}