runner

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyInput = errors.New("empty data")
)

Functions

func GetDefaultDirectory added in v1.0.6

func GetDefaultDirectory() string

func StringTerms added in v1.0.37

func StringTerms(s string) string

func UpdateRule added in v1.0.6

func UpdateRule()

Types

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
}

func ParseOptions

func ParseOptions() *Options

type OutputFields

type OutputFields struct {
	URL     string                       `json:"URL"`
	Extract map[string]map[string]string `json:"Extract"`
}

type OutputWriter

type OutputWriter struct {
	JSON bool
}

OutputWriter outputs content to writers.

func NewOutputWriter

func NewOutputWriter(json bool) *OutputWriter

NewOutputWriter creates a new OutputWriter

type Runner

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

func NewRunner

func NewRunner(options *Options) (*Runner, error)

func (*Runner) Enumerate

func (r *Runner) Enumerate() error

func (*Runner) EnumerateMultipleDomainsWithCtx

func (r *Runner) EnumerateMultipleDomainsWithCtx(ctx context.Context, reader io.Reader) error

Jump to

Keyboard shortcuts

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