From 1f7044e8c0166cdfcfc3fbc3129da10e8e619009 Mon Sep 17 00:00:00 2001 From: sairson Date: Sat, 8 Jan 2022 14:35:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E5=92=8C=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/all.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/all.go b/cmd/all.go index 6eabce4..38237ce 100644 --- a/cmd/all.go +++ b/cmd/all.go @@ -37,8 +37,6 @@ func init() { } func allRun(hostString string, portString string, log bool, runtime int, noping bool) { - // 先对程序进行ping扫描 - // 解析hosts var ( ips []string ports []int @@ -73,7 +71,6 @@ func allRun(hostString string, portString string, log bool, runtime int, noping fmt.Println("----- [Yasso] Start do port scan -----") } PortResults := PortScan(alive, ports) - // 获取我们的端口扫描结果,去遍历 if len(PortResults) != 0 { fmt.Println("----- [Yasso] Start do crack service -----") for _, v := range PortResults {