Documentation ¶
Index ¶
- Constants
- type Gobuster
- func (g *Gobuster) ClearProgress()
- func (g *Gobuster) DNSLookup(domain string) ([]string, error)
- func (g *Gobuster) DNSLookupCname(domain string) (string, error)
- func (g *Gobuster) Errors() <-chan error
- func (g *Gobuster) GetConfigString() (string, error)
- func (g *Gobuster) GetRequest(url string) (*int, *int64, error)
- func (g *Gobuster) PrintProgress()
- func (g *Gobuster) Results() <-chan Result
- func (g *Gobuster) Start() error
- type GobusterPlugin
- type Options
- type ProcessFunc
- type Result
- type ResultToStringFunc
- type SetupFunc
Constants ¶
const ( // ModeDir represents -m dir ModeDir = "dir" // ModeDNS represents -m dns ModeDNS = "dns" )
const (
// VERSION contains the current gobuster version
VERSION = "2.0.1"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gobuster ¶
type Gobuster struct { Opts *Options WildcardIps stringSet IsWildcard bool // contains filtered or unexported fields }
Gobuster is the main object when creating a new run
func NewGobuster ¶
NewGobuster returns a new Gobuster object
func (*Gobuster) ClearProgress ¶
func (g *Gobuster) ClearProgress()
ClearProgress removes the last status line from stderr
func (*Gobuster) DNSLookupCname ¶
DNSLookupCname looks up a CNAME record via system default DNS servers
func (*Gobuster) GetConfigString ¶
GetConfigString returns the current config as a printable string
func (*Gobuster) GetRequest ¶
GetRequest issues a GET request to the target and returns the status code, length and an error
func (*Gobuster) PrintProgress ¶
func (g *Gobuster) PrintProgress()
PrintProgress outputs the current wordlist progress to stderr
type GobusterPlugin ¶
type GobusterPlugin interface { Setup(*Gobuster) error Process(*Gobuster, string) ([]Result, error) ResultToString(*Gobuster, *Result) (*string, error) }
GobusterPlugin is an interface which plugins must implement
type Options ¶
type Options struct { Extensions string ExtensionsParsed stringSet Mode string Password string StatusCodes string StatusCodesParsed intSet Threads int URL string UserAgent string Username string Wordlist string Proxy string Cookies string Timeout time.Duration FollowRedirect bool IncludeLength bool NoStatus bool NoProgress bool Expanded bool Quiet bool ShowIPs bool ShowCNAME bool InsecureSSL bool WildcardForced bool Verbose bool UseSlash bool }
Options helds all options that can be passed to libgobuster
type ProcessFunc ¶
ProcessFunc is the "process" function prototype for implementations
type ResultToStringFunc ¶
ResultToStringFunc is the "to string" function prototype for implementations