gobusterdns

package
Version: v3.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

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 GobusterDNS

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

GobusterDNS is the main type to implement the interface

func NewGobusterDNS

func NewGobusterDNS(globalopts *libgobuster.Options, opts *OptionsDNS) (*GobusterDNS, error)

NewGobusterDNS creates a new initialized GobusterDNS

func (*GobusterDNS) AdditionalWords added in v3.2.0

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

func (*GobusterDNS) GetConfigString

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

GetConfigString returns the string representation of the current config

func (*GobusterDNS) Name added in v3.1.0

func (d *GobusterDNS) Name() string

Name should return the name of the plugin

func (*GobusterDNS) PreRun

func (d *GobusterDNS) PreRun(ctx context.Context) error

PreRun is the pre run implementation of gobusterdns

func (*GobusterDNS) ProcessWord added in v3.2.0

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

ProcessWord is the process implementation of gobusterdns

type OptionsDNS

type OptionsDNS struct {
	Domain         string
	ShowIPs        bool
	ShowCNAME      bool
	WildcardForced bool
	Resolver       string
	Timeout        time.Duration
}

OptionsDNS holds all options for the dns plugin

func NewOptionsDNS

func NewOptionsDNS() *OptionsDNS

NewOptionsDNS returns a new initialized OptionsDNS

type Result added in v3.1.0

type Result struct {
	ShowIPs   bool
	ShowCNAME bool
	Found     bool
	Subdomain string
	IPs       []netip.Addr
	CNAME     string
}

Result represents a single result

func (Result) ResultToString added in v3.1.0

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