Update scanner.go

This commit is contained in:
影舞者 2021-10-13 09:36:10 +08:00 committed by GitHub
parent e9292dc7ad
commit 30d1e6d9ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -40,11 +40,6 @@ func Scan(info common.HostInfo) {
info.Host, info.Ports = strings.Split(targetIP, ":")[0], strings.Split(targetIP, ":")[1]
if info.Scantype == "all" {
switch {
case info.Ports == "135":
AddScan(info.Ports, info, ch, &wg) //findnet
if common.IsWmi {
AddScan("1000005", info, ch, &wg) //wmiexec
}
case info.Ports == "445":
//AddScan(info.Ports, info, ch, &wg) //smb
AddScan("1000001", info, ch, &wg) //ms17010