ScanConfig 扫描配置
| 84 | |
| 85 | // ScanConfig 扫描配置 |
| 86 | type 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 返回默认扫描配置 |
| 97 | func DefaultScanConfig() *ScanConfig { |
nothing calls this directly
no outgoing calls
no test coverage detected