mirror of
https://github.com/chainreactors/spray.git
synced 2025-09-15 19:50:18 +00:00
fix: null word not continue, https://github.com/chainreactors/spray/issues/108
This commit is contained in:
parent
d21dd493f6
commit
104d41380e
@ -203,10 +203,6 @@ Loop:
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
pool.Statistor.End++
|
pool.Statistor.End++
|
||||||
if w == "" {
|
|
||||||
pool.Statistor.Skipped++
|
|
||||||
pool.Bar.Done()
|
|
||||||
}
|
|
||||||
|
|
||||||
pool.wordOffset++
|
pool.wordOffset++
|
||||||
if pool.wordOffset < offset {
|
if pool.wordOffset < offset {
|
||||||
@ -218,6 +214,12 @@ Loop:
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if w == "" {
|
||||||
|
pool.Statistor.Skipped++
|
||||||
|
pool.Bar.Done()
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
pool.wg.Add(1)
|
pool.wg.Add(1)
|
||||||
if pool.Mod == HostSpray {
|
if pool.Mod == HostSpray {
|
||||||
pool.reqPool.Invoke(&Unit{host: w, source: parsers.WordSource, number: pool.wordOffset})
|
pool.reqPool.Invoke(&Unit{host: w, source: parsers.WordSource, number: pool.wordOffset})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user