runner

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderKeyUserAgent     = "User-Agent"
	HeaderKeyCookie        = "Cookie"
	HeaderKeyAuthorization = "Authorization"
)
View Source
const (
	Version = `2.1.0`
)

Variables

View Source
var (
	DefaultPathScanDir            = filepath.Join(folderutil.HomeDirOrDefault("."), ".config", "pathScan")
	DefaultMatchDir               = filepath.Join(DefaultPathScanDir, "match-config")
	DefaultProviderConfigLocation = filepath.Join(DefaultPathScanDir, "provider-config.yaml")
	DefaultPathScanConfig         = filepath.Join(DefaultPathScanDir, "config.yaml")
	PathScanMatchVersion, _       = util.GetMatchVersion(DefaultMatchDir)
)

Functions

func ConfigureOutput

func ConfigureOutput(options *types.Options)

func DefaultOptions

func DefaultOptions(options *types.Options)

func ParserOptions

func ParserOptions() *types.Options

func ValidateRunEnumeration

func ValidateRunEnumeration(options *types.Options) error

Types

type Runner

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

func NewRunner

func NewRunner(options *types.Options) (r *Runner, err error)

func (*Runner) Close

func (r *Runner) Close()

func (*Runner) DisableAliveCheck added in v2.1.0

func (r *Runner) DisableAliveCheck() bool

func (*Runner) DisableAutoPathScan added in v2.1.0

func (r *Runner) DisableAutoPathScan() bool

func (*Runner) IsRunOperatorMode added in v2.1.0

func (r *Runner) IsRunOperatorMode() bool

func (*Runner) IsRunPathScanMode

func (r *Runner) IsRunPathScanMode() bool

func (*Runner) IsRunSubdomainMode

func (r *Runner) IsRunSubdomainMode() bool

func (*Runner) IsRunUncoverMode

func (r *Runner) IsRunUncoverMode() bool

func (*Runner) RunEnumeration

func (r *Runner) RunEnumeration() error

Jump to

Keyboard shortcuts

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