refactor: 输出格式重构,去掉所有插件的多线程,因为多线程会导致结果不准确,加入进度条

This commit is contained in:
ZacharyZcR
2025-01-01 07:18:36 +08:00
parent 277ea5d332
commit ceede3cd68
49 changed files with 1448 additions and 2911 deletions
+1 -7
View File
@@ -81,7 +81,7 @@ func init() {
Common.RegisterPlugin("activemq", Common.ScanPlugin{
Name: "ActiveMQ",
Ports: []int{61616, 61613},
Ports: []int{61613},
ScanFunc: Plugins.ActiveMQScan,
})
@@ -115,12 +115,6 @@ func init() {
ScanFunc: Plugins.SNMPScan,
})
Common.RegisterPlugin("zabbix", Common.ScanPlugin{
Name: "Zabbix",
Ports: []int{80, 443, 8080, 8443, 10051}, // Zabbix常用端口
ScanFunc: Plugins.ZabbixScan,
})
Common.RegisterPlugin("modbus", Common.ScanPlugin{
Name: "Modbus",
Ports: []int{502, 5020}, // Modbus 默认端口