From 323d786c6642b1a1c26934b4b1e716e24aa9582a Mon Sep 17 00:00:00 2001 From: shadow1ng Date: Sun, 18 Apr 2021 14:03:07 +0800 Subject: [PATCH] update --- common/Parse.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/Parse.go b/common/Parse.go index 031dd18..b0d9504 100644 --- a/common/Parse.go +++ b/common/Parse.go @@ -128,7 +128,7 @@ func ParseScantype(Info *HostInfo) { if Info.Ports == DefaultPorts { switch Info.Scantype { case "webtitle": - Info.Ports = "80,81,443,7001,8000,8080,8089,9200" + Info.Ports = Webport case "ms17010": Info.Ports = "445" case "cve20200796": @@ -138,7 +138,7 @@ func ParseScantype(Info *HostInfo) { port, _ := PORTList[Info.Scantype] Info.Ports = strconv.Itoa(port) } - fmt.Println("if -m ", Info.Scantype, " only scan the port:", Info.Ports) + fmt.Println("-m ", Info.Scantype, " start scan the port:", Info.Ports) } } }