gobusterfuzz

package module
v0.0.0-...-d6eece0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const FuzzKeyword = "FUZZ"

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 GobusterFuzz

type GobusterFuzz struct {
	// contains filtered or unexported fields
}

GobusterFuzz is the main type to implement the interface

func NewGobusterFuzz

func NewGobusterFuzz(globalopts *libgobuster.Options, opts *OptionsFuzz) (*GobusterFuzz, error)

NewGobusterFuzz creates a new initialized GobusterFuzz

func (*GobusterFuzz) AdditionalWords

func (d *GobusterFuzz) AdditionalWords(word string) []string

func (*GobusterFuzz) GetConfigString

func (d *GobusterFuzz) GetConfigString() (string, error)

GetConfigString returns the string representation of the current config

func (*GobusterFuzz) Name

func (d *GobusterFuzz) Name() string

Name should return the name of the plugin

func (*GobusterFuzz) PreRun

func (d *GobusterFuzz) PreRun(ctx context.Context, progress *libgobuster.Progress) error

PreRun is the pre run implementation of gobusterfuzz

func (*GobusterFuzz) ProcessWord

func (d *GobusterFuzz) ProcessWord(ctx context.Context, word string, progress *libgobuster.Progress) error

ProcessWord is the process implementation of gobusterfuzz

type OptionsFuzz

type OptionsFuzz struct {
	libgobuster.HTTPOptions
	ExcludedStatusCodes       string
	ExcludedStatusCodesParsed libgobuster.Set[int]
	ExcludeLength             string
	ExcludeLengthParsed       libgobuster.Set[int]
	RequestBody               string
}

OptionsFuzz is the struct to hold all options for this plugin

func NewOptionsFuzz

func NewOptionsFuzz() *OptionsFuzz

NewOptionsFuzz returns a new initialized OptionsFuzz

type Result

type Result struct {
	Word       string
	Verbose    bool
	Found      bool
	Path       string
	StatusCode int
	Size       int64
}

Result represents a single result

func (Result) ResultToString

func (r Result) ResultToString() (string, error)

ResultToString converts the Result to it's textual representation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL