From b00a5d440374743b7658823d64c329ffde52e421 Mon Sep 17 00:00:00 2001 From: shadow1ng Date: Thu, 3 Dec 2020 17:02:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=8F=82=E6=95=B0=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Plugins/scanner.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Plugins/scanner.go b/Plugins/scanner.go index 49e3b28..d6df00d 100644 --- a/Plugins/scanner.go +++ b/Plugins/scanner.go @@ -52,12 +52,12 @@ func Scan(info common.HostInfo) { for _, targetIP := range AlivePorts { scan_ip, scan_port := strings.Split(targetIP, ":")[0], strings.Split(targetIP, ":")[1] info.Host = scan_ip + info.Ports = scan_port if info.Scantype == "all" { if IsContain(severports, scan_port) { AddScan(scan_port, info, ch, &wg) } else { if !IsContain(severports1, scan_port) { - info.Ports = scan_port AddScan("1000003", info, ch, &wg) //webtitle } } @@ -76,9 +76,6 @@ func Scan(info common.HostInfo) { func AddScan(scantype string, info common.HostInfo, ch chan int, wg *sync.WaitGroup) { wg.Add(1) - if info.Scantype == "webtitle" { - scantype = "1000003" - } go scan_func(PluginList, scantype, &info, ch, wg) ch <- 1 }