1
0
mirror of https://github.com/sairson/Yasso.git synced 2026-06-16 15:18:12 +08:00

删除无用的函数和注释

This commit is contained in:
sairson
2022-01-08 14:35:23 +08:00
parent 6b4b57bd9c
commit 1f7044e8c0

View File

@@ -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 {