chore: 砍掉 downloader/shellenv,新增 sshkey 插件

- 删除 downloader(curl/certutil 可替代)
- 删除 shellenv(劫持 ls 别名动静太大,实用性差)
- 新增 sshkey:生成 ed25519 密钥对,注入 authorized_keys,
  私钥保存到当前目录,支持多用户(root 权限下自动注入 root)
This commit is contained in:
ZacharyZcR
2026-05-16 06:56:12 +08:00
parent bf210dd94d
commit 4fa8fdc30e
5 changed files with 149 additions and 606 deletions
+4 -6
View File
@@ -575,9 +575,6 @@ cleaner_success:
cleaner_history_found:
other: "Found history file: {{.Arg1}} (requires manual cleanup)"
# Downloader
downloader_success:
other: "File download completed: {{.Arg1}} -> {{.Arg2}} (size: {{.Arg3}} bytes)"
# Forward shell
forwardshell_complete:
@@ -611,9 +608,10 @@ winstartup_success:
winservice_success:
other: "Windows service persistence completed: {{.Arg1}} items"
# Shell environment
shellenv_success:
other: "Shell environment persistence completed: {{.Arg1}} methods succeeded"
# SSH Key injection
sshkey_success:
other: "SSH key injection completed: {{.Arg1}} users"
# LD_PRELOAD
ldpreload_success:
+3 -7
View File
@@ -574,10 +574,6 @@ cleaner_success:
cleaner_history_found:
other: "发现历史文件: {{.Arg1}} (需手动清理相关条目)"
# 文件下载
downloader_success:
other: "文件下载完成: {{.Arg1}} -> {{.Arg2}} (大小: {{.Arg3}} bytes)"
# 正向Shell
forwardshell_complete:
other: "正向Shell服务完成 - 端口: {{.Arg1}}"
@@ -610,9 +606,9 @@ winstartup_success:
winservice_success:
other: "Windows服务持久化完成: {{.Arg1}}个项目"
# Shell环境变量
shellenv_success:
other: "Shell环境变量持久化完成: {{.Arg1}}个方法成功"
# SSH Key注入
sshkey_success:
other: "SSH Key注入完成: {{.Arg1}}个用户"
# LD_PRELOAD
ldpreload_success: