mirror of
https://github.com/chainreactors/spray.git
synced 2025-09-15 19:50:18 +00:00
优化collect, resp没有body时, 跳过title匹配
This commit is contained in:
parent
2fe0466ab0
commit
89899ebef5
@ -79,11 +79,12 @@ type baseline struct {
|
||||
|
||||
// Collect 深度收集信息
|
||||
func (bl *baseline) Collect() {
|
||||
if len(bl.Body) > 0 {
|
||||
bl.Title = parsers.MatchTitle(string(bl.Body))
|
||||
}
|
||||
bl.Hashes = parsers.NewHashes(bl.Raw)
|
||||
bl.Title = parsers.MatchTitle(string(bl.Body))
|
||||
// todo extract
|
||||
bl.Extracteds = pkg.Extractors.Extract(string(bl.Raw))
|
||||
// todo 指纹识别
|
||||
bl.Frameworks = pkg.FingerDetect(string(bl.Raw))
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user