cli

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 23, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SelectMode

func SelectMode(mode core.Mode, cfg Config) core.Mode

func ValidateFlags

func ValidateFlags(cfg *Config)

Types

type Config

type Config struct {
	Test string

	// Flags
	URL        string
	BaseURL    string
	Threads    int
	IgnoreCode []int
	Exts       []string
	RawTimeout string
	RawDelay   string
	Timeout    time.Duration
	Delay      time.Duration
	UserAgent  []string
	// bool
	NoColor   bool
	Recursive bool
	//forces
	ForceHead    bool
	ForceThreads bool
	ForceProxy   bool

	Proxy  string
	Method string
	// Basic Auth
	Username string
	Password string
	// Placeholder
	Placeholder string

	Header []string
	// TLS
	Insecure bool

	Quiet bool

	JSON   bool
	CSV    bool
	Output string
}

func ParseFlags

func ParseFlags() (Config, wordlist.Wordlist)

Jump to

Keyboard shortcuts

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