input

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTimeout     = 20
	DefaultConcurrency = 50
	DefaultRateLimit   = 0
)

Variables

View Source
var (
	ErrMutexFlags       = errors.New("incompatible flags specified")
	ErrNoInput          = errors.New("no input specified")
	ErrNegativeValue    = errors.New("must be positive")
	ErrMalformedURL     = errors.New("malformed input URL")
	ErrMalformedPayload = errors.New("malformed input payload (follow JavaScript variables naming rules)")
)

Functions

This section is empty.

Types

type Options

type Options struct {
	Input       string
	FileInput   string
	FileOutput  string
	Output      io.Writer
	Concurrency int
	Timeout     int
	Proxy       string
	UserAgent   string
	Headers     goflags.StringSlice
	HeadersFile string
	Payload     string
	JS          string
	JSFile      string
	Exploit     bool
	RateLimit   int
	Silent      bool
	Verbose     bool
	JSON        bool
}

Options struct holds all the configuration settings.

func ParseOptions

func ParseOptions() *Options

ParseOptions parses the command line options for application.

Jump to

Keyboard shortcuts

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