mirror of
https://github.com/sairson/Yasso.git
synced 2026-06-16 15:18:12 +08:00
删除无用的函数和注释
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user