feat: add -ntp flag to disable TCP supplementary probe

This commit is contained in:
ZacharyZcR
2026-05-12 15:29:08 +08:00
parent 265e855fc3
commit 2e9321837f
6 changed files with 13 additions and 0 deletions
+2
View File
@@ -36,6 +36,7 @@ type FlagVars struct {
TimeoutSec int64 // 秒,需转换为 time.Duration
GlobalTimeout int64
DisablePing bool
DisableTcpProbe bool
LocalPlugin string
AliveOnly bool
DisableBrute bool
@@ -137,6 +138,7 @@ func BuildConfigFromFlags(fv *FlagVars) *Config {
ModuleThreadNum: fv.ModuleThreadNum,
DisableBrute: fv.DisableBrute,
DisablePing: fv.DisablePing,
DisableTcpProbe: fv.DisableTcpProbe,
// 扫描模式
Mode: fv.ScanMode,