gobustervhost

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GobusterVhost

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

GobusterVhost is the main type to implement the interface

func NewGobusterVhost

func NewGobusterVhost(globalopts *libgobuster.Options, opts *OptionsVhost) (*GobusterVhost, error)

NewGobusterVhost creates a new initialized GobusterDir

func (*GobusterVhost) AdditionalWords

func (v *GobusterVhost) AdditionalWords(word string) []string

func (*GobusterVhost) GetConfigString

func (v *GobusterVhost) GetConfigString() (string, error)

GetConfigString returns the string representation of the current config

func (*GobusterVhost) Name

func (v *GobusterVhost) Name() string

Name should return the name of the plugin

func (*GobusterVhost) PreRun

func (v *GobusterVhost) PreRun(ctx context.Context, progress *libgobuster.Progress) error

PreRun is the pre run implementation of gobusterdir

func (*GobusterVhost) ProcessWord

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

ProcessWord is the process implementation of gobusterdir

type OptionsVhost

type OptionsVhost struct {
	libgobuster.HTTPOptions
	AppendDomain        bool
	ExcludeLength       string
	ExcludeLengthParsed libgobuster.Set[int]
	Domain              string
}

OptionsVhost is the struct to hold all options for this plugin

func NewOptionsVhost

func NewOptionsVhost() *OptionsVhost

NewOptionsVhost returns a new initialized OptionsVhost

type Result

type Result struct {
	Found      bool
	Vhost      string
	StatusCode int
	Size       int64
	Header     http.Header
}

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