1
1
mirror of https://github.com/OJ/gobuster.git synced 2024-11-15 08:45:21 +01:00
gobuster/libgobuster/options_http.go
2020-06-20 14:58:27 +02:00

26 lines
496 B
Go

package libgobuster
import (
"time"
)
// BasicHTTPOptions defines only core http options
type BasicHTTPOptions struct {
UserAgent string
Proxy string
Timeout time.Duration
}
// HTTPOptions is the struct to pass in all http options to Gobuster
type HTTPOptions struct {
BasicHTTPOptions
Password string
URL string
Username string
Cookies string
Headers []HTTPHeader
FollowRedirect bool
NoTLSValidation bool
Method string
}