From 3ba0a2abd37fd52d3604ce038d9eacf1848f0231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=B1=E8=88=9E=E8=80=85?= Date: Thu, 14 Jul 2022 12:19:16 +0800 Subject: [PATCH] =?UTF-8?q?-hf=20=E6=94=AF=E6=8C=81host:port=E5=92=8Chost/?= =?UTF-8?q?xx:port=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Plugins/scanner.go | 1 + 1 file changed, 1 insertion(+) diff --git a/Plugins/scanner.go b/Plugins/scanner.go index d5faa60..567871d 100644 --- a/Plugins/scanner.go +++ b/Plugins/scanner.go @@ -44,6 +44,7 @@ func Scan(info common.HostInfo) { if len(common.HostPort) > 0 { AlivePorts = append(AlivePorts, common.HostPort...) AlivePorts = common.RemoveDuplicate(AlivePorts) + common.HostPort = nil fmt.Println("[*] AlivePorts len is:", len(AlivePorts)) } var severports []string //severports := []string{"21","22","135"."445","1433","3306","5432","6379","9200","11211","27017"...}