mirror of
https://github.com/OJ/gobuster.git
synced 2024-11-15 08:45:21 +01:00
26 lines
496 B
Go
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
|
|
}
|