From cb6d67ed7b08c2f1f28242f27cfb37164907a30d Mon Sep 17 00:00:00 2001 From: shadow1ng Date: Tue, 25 Feb 2025 20:15:15 +0800 Subject: [PATCH] update --- WebScan/lib/Check.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/WebScan/lib/Check.go b/WebScan/lib/Check.go index 860f289..87a8370 100644 --- a/WebScan/lib/Check.go +++ b/WebScan/lib/Check.go @@ -77,19 +77,19 @@ func CheckMultiPoc(req *http.Request, pocs []*Poc, workers int) { Common.SaveResult(result) // 控制台输出 - logMsg := fmt.Sprintf("目标: %s\n 漏洞类型: %s\n 漏洞名称: %s\n 详细信息:", + logMsg := fmt.Sprintf("目标: %s\n 漏洞名称: %s\n 详细信息: ", task.Req.URL, task.Poc.Name, - vulName) + ) if task.Poc.Detail.Author != "" { - logMsg += "\n\tauthor:" + task.Poc.Detail.Author + logMsg += "author:" + task.Poc.Detail.Author } if len(task.Poc.Detail.Links) != 0 { - logMsg += "\n\tlinks:" + strings.Join(task.Poc.Detail.Links, "\n") + logMsg += "\n\t links:" + strings.Join(task.Poc.Detail.Links, "\n") } if task.Poc.Detail.Description != "" { - logMsg += "\n\tdescription:" + task.Poc.Detail.Description + logMsg += "\n\t description:" + task.Poc.Detail.Description } Common.LogSuccess(logMsg)