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