MCPcopy Create free account
hub / github.com/MengMengCode/GetRealityDomain / ScanConfig

Struct ScanConfig

types.go:86–94  ·  view source on GitHub ↗

ScanConfig 扫描配置

Source from the content-addressed store, hash-verified

84
85// ScanConfig 扫描配置
86type ScanConfig struct {
87 Port int // 扫描端口
88 Thread int // 并发线程数
89 Timeout int // 连接超时时间(秒)
90 Output string // 输出文件路径
91 Verbose bool // 是否详细输出
92 IPv6 bool // 是否支持IPv6
93 GeoDBPath string // GeoIP数据库路径
94}
95
96// DefaultScanConfig 返回默认扫描配置
97func DefaultScanConfig() *ScanConfig {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected