socks代理时,自动-np

This commit is contained in:
影舞者
2022-08-16 15:10:09 +08:00
parent 98569648bb
commit 4908720acb
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ func Scan(info common.HostInfo) {
web := strconv.Itoa(common.PORTList["web"])
ms17010 := strconv.Itoa(common.PORTList["ms17010"])
if len(Hosts) > 0 || len(common.HostPort) > 0 {
if common.IsPing == false && len(Hosts) > 0 {
if common.NoPing == false && len(Hosts) > 0 {
Hosts = CheckLive(Hosts, common.Ping)
fmt.Println("[*] Icmp alive hosts len is:", len(Hosts))
}