Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct { Include string // targets to be included (comma separated) Exclude string // targets to be included (comma separated) Target string // target host Infile string // file containin targets (newline separated) ResolversFile string // file containing resolvers (newline separated) Outfile string // file to write results FilterStatusCode string // filter by status code (comma separated) FilterExtensions string // filter by extension (comma separated) HideStatusCodes bool // show status code HideMedia bool // hide images and fonts from output HideWarning bool // hide warnings Version bool // print version Help bool // print help }
type Options ¶
type Options struct { Include []string // domains to be included Exclude []string // domains to be included Concurrency int // number of concurrent requests Timeout int // Request timeout duration (in seconds) Delay int // delay between each request (in ms) DelayJitter int // maximum jitter to add to delay (in ms) UserAgent string // custom user-agent Proxy string // proxy to use for requests Silence bool // suppress output from console Verbose int // verbosity level Resolvers []string // resolvers to use for DNS resolution FollowRedirects bool // follow redirects Headers StringSlice // custom headers to add to requests CLI CLI // CLI options }
func (*Options) SetDefaultsMissing ¶
func (from *Options) SetDefaultsMissing()
func (*Options) ValidateOptions ¶
func (o *Options) ValidateOptions()
type StringSlice ¶
type StringSlice []string
StringSlice type to handle repeated flag values
func (*StringSlice) Set ¶
func (s *StringSlice) Set(value string) error
func (*StringSlice) String ¶
func (s *StringSlice) String() string
String provides the string representation of the slice
Click to show internal directories.
Click to hide internal directories.