修改多个用户认证成功的问题。然后由于smb误报率较高,将会默认不开启了,待加入smb指纹后再开启,但可以-m smb用于口令碰撞

This commit is contained in:
shadow1ng
2021-01-07 13:13:49 +08:00
parent 600904b41a
commit d468986428
2 changed files with 11 additions and 13 deletions
+3 -4
View File
@@ -33,15 +33,14 @@ func Scan(info common.HostInfo) {
for _, targetIP := range AlivePorts {
info.Host, info.Ports = strings.Split(targetIP, ":")[0], strings.Split(targetIP, ":")[1]
if info.Scantype == "all" {
if IsContain(severports, info.Ports) {
AddScan(info.Ports, info, ch, &wg)
} else if info.Ports == "445" { //scan more vul
if info.Ports == "445" { //scan more vul
AddScan("1000001", info, ch, &wg)
AddScan("1000002", info, ch, &wg)
} else if IsContain(severports, info.Ports) {
AddScan(info.Ports, info, ch, &wg)
} else {
AddScan("1000003", info, ch, &wg) //webtitle
}
} else {
port, _ := common.PortlistBack[info.Scantype]
scantype := strconv.Itoa(port)