refactor: 去掉UDP扫描、优化了DCInfo和MiniDump的检测机制

This commit is contained in:
ZacharyZcR
2024-12-28 06:38:44 +08:00
parent ee1d176a8f
commit 2ce7041c95
8 changed files with 60 additions and 22 deletions
-4
View File
@@ -13,7 +13,6 @@ const (
ModePort = "Port" // 端口扫描
ModeICMP = "ICMP" // ICMP探测
ModeLocal = "Local" // 本地信息收集
ModeUDP = "UDP" //UDP扫描
)
// 插件分类映射表 - 所有插件名使用小写
@@ -45,9 +44,6 @@ var pluginGroups = map[string][]string{
ModeLocal: {
"localinfo",
},
ModeUDP: {
"snmp",
},
}
// ParseScanMode 解析扫描模式