减少pocinfo结构体大小

This commit is contained in:
影舞者
2022-07-03 23:48:06 +08:00
parent b9b5eb9ce4
commit f2239b6c9f
5 changed files with 17 additions and 19 deletions
+3 -3
View File
@@ -41,11 +41,11 @@ func Execute(PocInfo common.PocInfo) {
return
}
req.Header.Set("User-agent", "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1468.0 Safari/537.36")
if PocInfo.Cookie != "" {
req.Header.Set("Cookie", PocInfo.Cookie)
if common.Cookie != "" {
req.Header.Set("Cookie", common.Cookie)
}
pocs := filterPoc(PocInfo.PocName)
lib.CheckMultiPoc(req, pocs, PocInfo.Num)
lib.CheckMultiPoc(req, pocs, common.PocNum)
}
func initpoc() {