mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-26 21:21:53 +08:00
-hf 支持host:port和host/xx:port格式
This commit is contained in:
@@ -44,6 +44,7 @@ func Scan(info common.HostInfo) {
|
|||||||
if len(common.HostPort) > 0 {
|
if len(common.HostPort) > 0 {
|
||||||
AlivePorts = append(AlivePorts, common.HostPort...)
|
AlivePorts = append(AlivePorts, common.HostPort...)
|
||||||
AlivePorts = common.RemoveDuplicate(AlivePorts)
|
AlivePorts = common.RemoveDuplicate(AlivePorts)
|
||||||
|
common.HostPort = nil
|
||||||
fmt.Println("[*] AlivePorts len is:", len(AlivePorts))
|
fmt.Println("[*] AlivePorts len is:", len(AlivePorts))
|
||||||
}
|
}
|
||||||
var severports []string //severports := []string{"21","22","135"."445","1433","3306","5432","6379","9200","11211","27017"...}
|
var severports []string //severports := []string{"21","22","135"."445","1433","3306","5432","6379","9200","11211","27017"...}
|
||||||
|
|||||||
Reference in New Issue
Block a user