cli

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Enumerator added in v1.7.0

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

func NewEnumerator added in v1.7.0

func NewEnumerator(config TargetConfig, s *scanner.Scanner) (*Enumerator, error)

func (*Enumerator) Run added in v1.7.0

func (e *Enumerator) Run(ctx context.Context, callback func(string, *scanner.Result, error)) error

type Options

type Options struct {
	UrlFile           string
	URL               goflags.StringSlice
	Threads           int
	Timeout           int
	Proxy             string
	Output            io.Writer
	OutputFile        string
	OutputType        string
	Stdin             bool
	FingerHome        string
	Debug             bool
	UpdateRule        bool
	DisableIcon       bool
	DisableJavaScript bool
	Version           bool
	DebugResp         bool
	DebugReq          bool
	Validate          bool
}

func ParseOptions

func ParseOptions() *Options

type Reporter added in v1.7.0

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

func NewFileReporter added in v1.7.0

func NewFileReporter(filename string, jsonOutput bool) (*Reporter, error)

func NewReporter added in v1.7.0

func NewReporter(config ReporterConfig) (*Reporter, error)

func (*Reporter) Close added in v1.7.0

func (r *Reporter) Close() error

func (*Reporter) Write added in v1.7.0

func (r *Reporter) Write(target string, result *scanner.Result, err error)

type ReporterConfig added in v1.7.0

type ReporterConfig struct {
	Writer io.Writer
	JSON   bool
}

type TargetConfig added in v1.7.0

type TargetConfig struct {
	Targets []string
	File    string
	Stdin   bool
	Workers int
}

Jump to

Keyboard shortcuts

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