调整portscan结构

This commit is contained in:
shadow1ng
2021-03-08 10:00:56 +08:00
parent 5b330bb12d
commit 3ca56ff222
3 changed files with 47 additions and 82 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ func Scan(info common.HostInfo) {
if info.Scantype == "icmp" {
return
}
AlivePorts := TCPportScan(Hosts, info.Ports, info.Timeout)
AlivePorts := PortScan(Hosts, info.Ports, info.Timeout)
if info.Scantype == "portscan" {
return
}