From 490cdbf07650e6a63025532500ff84e1e1b8ca45 Mon Sep 17 00:00:00 2001 From: ZacharyZcR Date: Mon, 19 Jan 2026 14:17:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(web):=20=E4=BF=AE=E5=A4=8D-u=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E4=B8=8BWeb=E6=8F=92=E4=BB=B6=E6=9C=AA=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/web_scanner.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/web_scanner.go b/core/web_scanner.go index 08295e0..a30f1da 100644 --- a/core/web_scanner.go +++ b/core/web_scanner.go @@ -424,5 +424,8 @@ func (s *WebScanStrategy) createTargetFromURL(baseInfo common.HostInfo, urlStr s } } + // 标记为Web服务,确保Web插件能识别此目标 + MarkAsWebService(urlInfo.Host, urlInfo.Port, &ServiceInfo{Name: "http"}) + return &urlInfo }