mirror of
https://github.com/chainreactors/spray.git
synced 2025-05-05 18:27:02 +00:00
fix stat Found bug
This commit is contained in:
parent
7693b4d38f
commit
fcce861ae3
@ -61,6 +61,8 @@ output:
|
||||
no-color: false
|
||||
# Bool, No progress bar
|
||||
no-bar: false
|
||||
# Bool, No stat
|
||||
no-stat: true
|
||||
plugins:
|
||||
# Bool, enable all plugin
|
||||
all: false
|
||||
|
@ -465,8 +465,6 @@ func (pool *BrutePool) Handler() {
|
||||
}
|
||||
|
||||
if ok {
|
||||
pool.Statistor.FoundNumber++
|
||||
|
||||
// unique判断
|
||||
if EnableAllUnique || iutils.IntsContains(pkg.UniqueStatus, bl.Status) {
|
||||
if _, ok := pool.uniques[bl.Unique]; ok {
|
||||
@ -495,6 +493,7 @@ func (pool *BrutePool) Handler() {
|
||||
|
||||
// 如果要进行递归判断, 要满足 bl有效, mod为path-spray, 当前深度小于最大递归深度
|
||||
if bl.IsValid {
|
||||
pool.Statistor.FoundNumber++
|
||||
if bl.RecuDepth < MaxRecursion {
|
||||
if pkg.CompareWithExpr(pool.RecuExpr, params) {
|
||||
bl.Recu = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user