Documentation
¶
Index ¶
Constants ¶
View Source
const ( CheckSource sourceType = iota + 1 InitSource WordSource WafSource )
Variables ¶
View Source
var ( CheckStatusCode func(int) bool CheckRedirect func(string) bool CheckWaf func([]byte) bool )
View Source
var BlackStatus = []int{400, 404, 410}
View Source
var FuzzyStatus = []int{403, 500, 501, 502, 503}
Functions ¶
func NewBaseline ¶ added in v0.1.0
func NewInvalidBaseline ¶ added in v0.1.0
func SliceContains ¶ added in v0.1.0
Types ¶
type Option ¶
type Option struct {
URL string `short:"u" long:"url"`
URLFile string `short:"l" long:"list"`
Dictionaries []string `short:"d" long:"dict"`
Word string `short:"w" long:"word"`
Extension string `short:"e" long:"extensions"`
ExcludeExtensions string `long:"exclude-extensions"`
RemoveExtensions string `long:"remove-extensions"`
Uppercase bool `short:"U" long:"uppercase"`
Lowercase bool `short:"L" long:"lowercase"`
Deadline int `long:"deadline" default:"600"` // todo 总的超时时间,适配云函数的deadline
Timeout int `long:"timeout" default:"2"`
Headers []string `long:"header"`
OutputFile string `short:"f"`
OutputProbe string `long:"probe"`
Offset int `long:"offset"`
Limit int `long:"limit"`
Threads int `short:"t" long:"thread" default:"20"`
PoolSize int `short:"p" long:"pool" default:"5"`
Debug bool `long:"debug"`
Quiet bool `short:"q" long:"quiet"`
Mod string `short:"m" long:"mod" default:"path"`
Client string `short:"c" long:"client" default:"auto"`
}
func (*Option) PrepareRunner ¶ added in v0.1.0
type Runner ¶
type Runner struct {
URLList []string
Wordlist []string
Headers http.Header
Fns []func(string) string
Threads int
PoolSize int
Pools *ants.PoolWithFunc
Timeout int
Mod string
OutputCh chan *baseline
Progress *uiprogress.Progress
// contains filtered or unexported fields
}
func (*Runner) Outputting ¶ added in v0.1.0
func (r *Runner) Outputting()
Click to show internal directories.
Click to hide internal directories.