feat: 增加单独的Elasticsearch扫描

This commit is contained in:
ZacharyZcR
2024-12-22 02:31:56 +08:00
parent 2e3ccee2e0
commit 8be8f94d82
7 changed files with 137 additions and 5 deletions
+6
View File
@@ -61,6 +61,12 @@ func init() {
ScanFunc: Plugins.MysqlScan,
})
Common.RegisterPlugin("elasticsearch", Common.ScanPlugin{
Name: "Elasticsearch",
Ports: []int{9200, 9300}, // Elasticsearch 默认HTTP和Transport端口
ScanFunc: Plugins.ElasticScan,
})
Common.RegisterPlugin("rdp", Common.ScanPlugin{
Name: "RDP",
Ports: []int{3389},