mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-22 03:10:42 +08:00
chore: 砍掉 downloader/shellenv,新增 sshkey 插件
- 删除 downloader(curl/certutil 可替代) - 删除 shellenv(劫持 ls 别名动静太大,实用性差) - 新增 sshkey:生成 ed25519 密钥对,注入 authorized_keys, 私钥保存到当前目录,支持多用户(root 权限下自动注入 root)
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user