Documentation
¶
Index ¶
- type GobusterDir
- func (d *GobusterDir) AdditionalSuccessWords(word string) []string
- func (d *GobusterDir) AdditionalWords(word string) []string
- func (d *GobusterDir) AdditionalWordsLen() int
- func (d *GobusterDir) GetConfigString() (string, error)
- func (d *GobusterDir) Name() string
- func (d *GobusterDir) PreRun(ctx context.Context, _ *libgobuster.Progress) error
- func (d *GobusterDir) ProcessWord(ctx context.Context, word string, progress *libgobuster.Progress) (libgobuster.Result, error)
- type OptionsDir
- type Result
- type WildcardError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GobusterDir ¶
type GobusterDir struct {
// contains filtered or unexported fields
}
GobusterDir is the main type to implement the interface
func New ¶ added in v3.7.0
func New(globalopts *libgobuster.Options, opts *OptionsDir, logger *libgobuster.Logger) (*GobusterDir, error)
New creates a new initialized GobusterDir
func (*GobusterDir) AdditionalSuccessWords ¶ added in v3.7.0
func (d *GobusterDir) AdditionalSuccessWords(word string) []string
func (*GobusterDir) AdditionalWords ¶ added in v3.2.0
func (d *GobusterDir) AdditionalWords(word string) []string
func (*GobusterDir) AdditionalWordsLen ¶ added in v3.7.0
func (d *GobusterDir) AdditionalWordsLen() int
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(ctx context.Context, _ *libgobuster.Progress) error
PreRun is the pre run implementation of gobusterdir
func (*GobusterDir) ProcessWord ¶ added in v3.2.0
func (d *GobusterDir) ProcessWord(ctx context.Context, word string, progress *libgobuster.Progress) (libgobuster.Result, error)
ProcessWord is the process implementation of gobusterdir
type OptionsDir ¶
type OptionsDir struct { libgobuster.HTTPOptions Extensions string ExtensionsParsed libgobuster.Set[string] ExtensionsFile string StatusCodes string StatusCodesParsed libgobuster.Set[int] StatusCodesBlacklist string StatusCodesBlacklistParsed libgobuster.Set[int] UseSlash bool HideLength bool Expanded bool NoStatus bool DiscoverBackup bool ExcludeLength string ExcludeLengthParsed libgobuster.Set[int] }
OptionsDir is the struct to hold all options for this plugin
func NewOptions ¶ added in v3.7.0
func NewOptions() *OptionsDir
NewOptions returns a new initialized OptionsDir
type Result ¶ added in v3.1.0
Result represents a single result
func (Result) ResultToString ¶ added in v3.1.0
ResultToString converts the Result to its textual representation
type WildcardError ¶ added in v3.7.0
type WildcardError struct {
// contains filtered or unexported fields
}
WildcardError is returned if a wildcard response is found
func (*WildcardError) Error ¶ added in v3.7.0
func (e *WildcardError) Error() string
Error is the implementation of the error interface