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
View File
@@ -175,6 +175,7 @@ func ParseInput(Info *HostInfo) {
}
if Socks5Proxy != "" && !strings.HasPrefix(Socks5Proxy, "socks5://") {
Socks5Proxy = "socks5://" + Socks5Proxy
NoPing = true
}
}
+1 -1
View File
@@ -69,7 +69,7 @@ var (
WebTimeout int64
TmpOutputfile string
TmpSave bool
IsPing bool
NoPing bool
Ping bool
Pocinfo PocInfo
IsWebCan bool
+1 -1
View File
@@ -62,7 +62,7 @@ func Flag(Info *HostInfo) {
flag.BoolVar(&IsWebCan, "nopoc", false, "not to scan web vul")
flag.BoolVar(&IsBrute, "nobr", false, "not to Brute password")
flag.IntVar(&BruteThread, "br", 1, "Brute threads")
flag.BoolVar(&IsPing, "np", false, "not to ping")
flag.BoolVar(&NoPing, "np", false, "not to ping")
flag.BoolVar(&Ping, "ping", false, "using ping replace icmp")
flag.StringVar(&TmpOutputfile, "o", "result.txt", "Outputfile")
flag.BoolVar(&TmpSave, "no", false, "not to save output log")