Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrWildcard ¶
type ErrWildcard struct {
// contains filtered or unexported fields
}
ErrWildcard is returned if a wildcard response is found
func (*ErrWildcard) Error ¶
func (e *ErrWildcard) Error() string
Error is the implementation of the error interface
type GobusterDir ¶
type GobusterDir struct {
// contains filtered or unexported fields
}
GobusterDir is the main type to implement the interface
func NewGobusterDir ¶
func NewGobusterDir(cont context.Context, globalopts *libgobuster.Options, opts *OptionsDir) (*GobusterDir, error)
NewGobusterDir creates a new initialized GobusterDir
func (*GobusterDir) GetConfigString ¶
func (d *GobusterDir) GetConfigString() (string, error)
GetConfigString returns the string representation of the current config
func (*GobusterDir) Name ¶ added in v3.1.0
func (d *GobusterDir) Name() string
Name should return the name of the plugin
func (*GobusterDir) PreRun ¶
func (d *GobusterDir) PreRun() error
PreRun is the pre run implementation of gobusterdir
func (*GobusterDir) RequestsPerRun ¶ added in v3.1.0
func (d *GobusterDir) RequestsPerRun() int
RequestsPerRun returns the number of requests this plugin makes per single wordlist item
func (*GobusterDir) Run ¶
func (d *GobusterDir) Run(word string, resChannel chan<- libgobuster.Result) error
Run is the process implementation of gobusterdir
type OptionsDir ¶
type OptionsDir struct { libgobuster.HTTPOptions Extensions string ExtensionsParsed libgobuster.StringSet StatusCodes string StatusCodesParsed libgobuster.IntSet StatusCodesBlacklist string StatusCodesBlacklistParsed libgobuster.IntSet UseSlash bool WildcardForced bool HideLength bool Expanded bool NoStatus bool DiscoverBackup bool ExcludeLength []int }
OptionsDir is the struct to hold all options for this plugin
func NewOptionsDir ¶
func NewOptionsDir() *OptionsDir
NewOptionsDir returns a new initialized OptionsDir
type Result ¶ added in v3.1.0
type Result struct { URL string Path string Verbose bool Expanded bool NoStatus bool HideLength bool Found bool Header http.Header StatusCode int Size int64 }
Result represents a single result
func (Result) ResultToString ¶ added in v3.1.0
ToString converts the Result to it's textual representation