Documentation
¶
Index ¶
- Variables
- func NewBruteDSL(config *Config, dsl string, params [][]string) *words.Worder
- func NewBruteWords(config *Config, list []string) *words.Worder
- type BasePool
- type Baselines
- type BrutePool
- func (pool *BrutePool) BaseCompare(bl *baseline.Baseline) bool
- func (pool *BrutePool) Close()
- func (pool *BrutePool) Handler()
- func (pool *BrutePool) Init() error
- func (pool *BrutePool) Invoke(v interface{})
- func (pool *BrutePool) NoScopeInvoke(v interface{})
- func (pool *BrutePool) PreCompare(resp *ihttp.Response) error
- func (pool *BrutePool) Run(offset, limit int)
- func (pool *BrutePool) Upgrade(bl *baseline.Baseline) error
- type CheckPool
- type Config
- type SprayMod
- type Unit
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EnableAllFuzzy = false EnableAllUnique = false )
View Source
var ModMap = map[string]SprayMod{ "path": PathSpray, "host": HostSpray, }
Functions ¶
Types ¶
type Baselines ¶
type Baselines struct {
FailedBaselines []*baseline.Baseline
// contains filtered or unexported fields
}
func NewBaselines ¶
func NewBaselines() *Baselines
type BrutePool ¶
type BrutePool struct {
*Baselines
*BasePool
IsFailed bool
// contains filtered or unexported fields
}
func (*BrutePool) NoScopeInvoke ¶
func (pool *BrutePool) NoScopeInvoke(v interface{})
type CheckPool ¶
type CheckPool struct {
*BasePool
Pool *ants.PoolWithFunc
}
func NewCheckPool ¶
类似httpx的无状态, 无scope, 无并发池的检测模式
type Config ¶
type Config struct {
BaseURL string
ProxyClient proxyclient.Dial
Thread int
Wordlist []string
Timeout time.Duration
ProcessCh chan *baseline.Baseline
OutputCh chan *baseline.Baseline
FuzzyCh chan *baseline.Baseline
Outwg *sync.WaitGroup
RateLimit int
CheckPeriod int
ErrPeriod int32
BreakThreshold int32
Mod SprayMod
Request *ihttp.RequestConfig
ClientType int
MatchExpr *vm.Program
FilterExpr *vm.Program
RecuExpr *vm.Program
AppendRule *rule.Program
Fns []words.WordFunc
AppendWords []string
Fuzzy bool
IgnoreWaf bool
Crawl bool
Scope []string
Active bool
Bak bool
Fuzzuli bool
Common bool
RetryLimit int
Random string
Index string
MaxRedirect int
MaxCrawlDepth int
MaxRecursionDepth int
MaxAppendDepth int
}
Click to show internal directories.
Click to hide internal directories.