mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-09-14 05:56:46 +08:00
feat: 完成Rsync和SMTP服务插件迁移到新架构
- 完成Rsync文件同步服务插件迁移 * 实现RSYNCD协议支持和模块列表获取 * 支持匿名访问和认证扫描 * 添加Docker测试环境配置 - 完成SMTP邮件服务插件迁移 * 实现SMTP协议和PLAIN认证支持 * 支持匿名访问检测和弱密码扫描 * 添加Docker测试环境配置 - 更新国际化消息和插件注册机制 - 两个插件均通过完整功能测试验证
This commit is contained in:
parent
c2bb4bfd35
commit
188f949f09
@ -744,4 +744,124 @@ var PluginMessages = map[string]map[string]string{
|
||||
LangZH: "Neo4j认证失败 %s: %v",
|
||||
LangEN: "Neo4j authentication failed %s: %v",
|
||||
},
|
||||
|
||||
// ========================= PostgreSQL插件消息 =========================
|
||||
"postgresql_auth_success": {
|
||||
LangZH: "PostgreSQL服务 %s 认证成功 %s:%s",
|
||||
LangEN: "PostgreSQL service %s authentication successful %s:%s",
|
||||
},
|
||||
"postgresql_service_identified": {
|
||||
LangZH: "PostgreSQL服务识别成功: %s - %s",
|
||||
LangEN: "PostgreSQL service identified: %s - %s",
|
||||
},
|
||||
"postgresql_connection_failed": {
|
||||
LangZH: "PostgreSQL连接失败: %v",
|
||||
LangEN: "PostgreSQL connection failed: %v",
|
||||
},
|
||||
"postgresql_auth_failed": {
|
||||
LangZH: "PostgreSQL认证失败 %s: %v",
|
||||
LangEN: "PostgreSQL authentication failed %s: %v",
|
||||
},
|
||||
|
||||
// ========================= Oracle插件消息 =========================
|
||||
"oracle_auth_success": {
|
||||
LangZH: "Oracle服务 %s 认证成功 %s:%s",
|
||||
LangEN: "Oracle service %s authentication successful %s:%s",
|
||||
},
|
||||
"oracle_sys_auth_success": {
|
||||
LangZH: "Oracle服务 %s 高危用户认证成功 %s:%s (可能需要SYSDBA权限)",
|
||||
LangEN: "Oracle service %s high-risk user authentication successful %s:%s (may require SYSDBA privilege)",
|
||||
},
|
||||
"oracle_service_identified": {
|
||||
LangZH: "Oracle服务识别成功: %s - %s",
|
||||
LangEN: "Oracle service identified: %s - %s",
|
||||
},
|
||||
"oracle_connection_failed": {
|
||||
LangZH: "Oracle连接失败: %v",
|
||||
LangEN: "Oracle connection failed: %v",
|
||||
},
|
||||
"oracle_auth_failed": {
|
||||
LangZH: "Oracle认证失败 %s: %v",
|
||||
LangEN: "Oracle authentication failed %s: %v",
|
||||
},
|
||||
|
||||
// ========================= POP3插件消息 =========================
|
||||
"pop3_weak_pwd_success": {
|
||||
LangZH: "POP3弱密码: %s [%s:%s]",
|
||||
LangEN: "POP3 weak password: %s [%s:%s]",
|
||||
},
|
||||
"pop3_service_identified": {
|
||||
LangZH: "POP3服务识别成功: %s - %s",
|
||||
LangEN: "POP3 service identified: %s - %s",
|
||||
},
|
||||
"pop3_connection_failed": {
|
||||
LangZH: "POP3连接失败: %v",
|
||||
LangEN: "POP3 connection failed: %v",
|
||||
},
|
||||
"pop3_auth_failed": {
|
||||
LangZH: "POP3认证失败: %v",
|
||||
LangEN: "POP3 authentication failed: %v",
|
||||
},
|
||||
|
||||
// ========================= RabbitMQ插件消息 =========================
|
||||
"rabbitmq_weak_pwd_success": {
|
||||
LangZH: "RabbitMQ弱密码: %s [%s:%s]",
|
||||
LangEN: "RabbitMQ weak password: %s [%s:%s]",
|
||||
},
|
||||
"rabbitmq_service_identified": {
|
||||
LangZH: "RabbitMQ服务识别成功: %s - %s",
|
||||
LangEN: "RabbitMQ service identified: %s - %s",
|
||||
},
|
||||
"rabbitmq_connection_failed": {
|
||||
LangZH: "RabbitMQ连接失败: %v",
|
||||
LangEN: "RabbitMQ connection failed: %v",
|
||||
},
|
||||
"rabbitmq_auth_failed": {
|
||||
LangZH: "RabbitMQ认证失败: %v",
|
||||
LangEN: "RabbitMQ authentication failed: %v",
|
||||
},
|
||||
|
||||
// ========================= Rsync插件消息 =========================
|
||||
"rsync_anonymous_success": {
|
||||
LangZH: "Rsync匿名访问: %s",
|
||||
LangEN: "Rsync anonymous access: %s",
|
||||
},
|
||||
"rsync_weak_pwd_success": {
|
||||
LangZH: "Rsync弱密码: %s [%s:%s]",
|
||||
LangEN: "Rsync weak password: %s [%s:%s]",
|
||||
},
|
||||
"rsync_service_identified": {
|
||||
LangZH: "Rsync服务识别成功: %s - %s",
|
||||
LangEN: "Rsync service identified: %s - %s",
|
||||
},
|
||||
"rsync_connection_failed": {
|
||||
LangZH: "Rsync连接失败: %v",
|
||||
LangEN: "Rsync connection failed: %v",
|
||||
},
|
||||
"rsync_auth_failed": {
|
||||
LangZH: "Rsync认证失败: %v",
|
||||
LangEN: "Rsync authentication failed: %v",
|
||||
},
|
||||
|
||||
// ========================= SMTP插件消息 =========================
|
||||
"smtp_anonymous_success": {
|
||||
LangZH: "SMTP匿名访问: %s",
|
||||
LangEN: "SMTP anonymous access: %s",
|
||||
},
|
||||
"smtp_weak_pwd_success": {
|
||||
LangZH: "SMTP弱密码: %s [%s:%s]",
|
||||
LangEN: "SMTP weak password: %s [%s:%s]",
|
||||
},
|
||||
"smtp_service_identified": {
|
||||
LangZH: "SMTP服务识别成功: %s - %s",
|
||||
LangEN: "SMTP service identified: %s - %s",
|
||||
},
|
||||
"smtp_connection_failed": {
|
||||
LangZH: "SMTP连接失败: %v",
|
||||
LangEN: "SMTP connection failed: %v",
|
||||
},
|
||||
"smtp_auth_failed": {
|
||||
LangZH: "SMTP认证失败: %v",
|
||||
LangEN: "SMTP authentication failed: %v",
|
||||
},
|
||||
}
|
@ -18,7 +18,13 @@ import (
|
||||
_ "github.com/shadow1ng/fscan/plugins/services/mssql"
|
||||
_ "github.com/shadow1ng/fscan/plugins/services/mysql"
|
||||
_ "github.com/shadow1ng/fscan/plugins/services/neo4j"
|
||||
_ "github.com/shadow1ng/fscan/plugins/services/oracle"
|
||||
_ "github.com/shadow1ng/fscan/plugins/services/pop3"
|
||||
_ "github.com/shadow1ng/fscan/plugins/services/postgresql"
|
||||
_ "github.com/shadow1ng/fscan/plugins/services/rabbitmq"
|
||||
_ "github.com/shadow1ng/fscan/plugins/services/redis"
|
||||
_ "github.com/shadow1ng/fscan/plugins/services/rsync"
|
||||
_ "github.com/shadow1ng/fscan/plugins/services/smtp"
|
||||
_ "github.com/shadow1ng/fscan/plugins/services/ssh"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user