-hf 支持host:port和host/xx:port格式

This commit is contained in:
影舞者 2022-07-14 12:19:16 +08:00
parent 6f9e49a572
commit 3ba0a2abd3

View File

@ -44,6 +44,7 @@ func Scan(info common.HostInfo) {
if len(common.HostPort) > 0 {
AlivePorts = append(AlivePorts, common.HostPort...)
AlivePorts = common.RemoveDuplicate(AlivePorts)
common.HostPort = nil
fmt.Println("[*] AlivePorts len is:", len(AlivePorts))
}
var severports []string //severports := []string{"21","22","135"."445","1433","3306","5432","6379","9200","11211","27017"...}