mirror of
https://github.com/chainreactors/spray.git
synced 2025-05-06 10:41:21 +00:00
baseline添加source字段
This commit is contained in:
parent
835d4663dd
commit
e6aabe44c5
@ -90,6 +90,7 @@ func NewPool(ctx context.Context, config *pkg.Config) (*Pool, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bl.Source = int(unit.source)
|
||||||
bl.ReqDepth = unit.depth
|
bl.ReqDepth = unit.depth
|
||||||
bl.Spended = time.Since(start).Milliseconds()
|
bl.Spended = time.Since(start).Milliseconds()
|
||||||
switch unit.source {
|
switch unit.source {
|
||||||
|
@ -85,6 +85,7 @@ type Baseline struct {
|
|||||||
IsValid bool `json:"valid"`
|
IsValid bool `json:"valid"`
|
||||||
IsFuzzy bool `json:"fuzzy"`
|
IsFuzzy bool `json:"fuzzy"`
|
||||||
URLs []string `json:"urls"`
|
URLs []string `json:"urls"`
|
||||||
|
Source int `json:"source"`
|
||||||
RecuDepth int `json:"-"`
|
RecuDepth int `json:"-"`
|
||||||
ReqDepth int `json:"depth"`
|
ReqDepth int `json:"depth"`
|
||||||
Recu bool `json:"-"`
|
Recu bool `json:"-"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user