fix stat Found bug

This commit is contained in:
M09Ic 2024-09-23 16:08:43 +08:00
parent 7693b4d38f
commit fcce861ae3
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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