feat: add diff tips for attacher

This commit is contained in:
ReaJason
2025-05-28 01:22:54 +08:00
parent ebd1bebf2f
commit 6b670ffec4
6 changed files with 77 additions and 43 deletions
+4 -2
View File
@@ -119,13 +119,15 @@
"tips": {
"controllerUrlPattern": "ControllerHandler type requires a specific URL Pattern, e.g., /hello_controller",
"decompileTip": "Decompilation is still under development, so the current only sees the base64 encoding format",
"download-jattach": "Download the Jattach tool (consider it directly encapsulated in Jar later)",
"download-jattach": "Download the Jattach tool",
"execute-command": "Execute the command to inject: /path/to/jattach pid load instrument false /path/to/agent.jar",
"execute-command1": "Execute the command to inject: java -jar /path/to/agent.jar pid",
"get-pid": "Get the process pid of the target jvm (use jps or ps)",
"handlerUrlPattern": "HandlerMethod/HandlerFunction type requires a specific URL Pattern, e.g., /hello_handler",
"jreTip": "Target JRE version, generally speaking, Java 6 is the default version for maximum compatibility, and Java high versions can load low version bytecode.",
"jreTip2": "In specific cases, such as JDK8 being able to use lambda expressions, and JDK9 and above having module restrictions, a specific version is required.",
"move-to-container": "Move MemShellAgent.jar and jattach to the container (if the test environment uses a container deployment)",
"agent-move-to-target": "Move MemShellAgent.jar and jattach to target host",
"agent-move-to-target1": "Move MemShellAgent.jar to target host",
"servletUrlPattern": "Servlet type requires a specific URL Pattern, e.g., /hello_servlet",
"shellBytesEmpty": "Shell bytes is empty, please generate shell first",
"shellToolNotSelected": "Please select a shell tool type first",
+4 -2
View File
@@ -119,13 +119,15 @@
"tips": {
"controllerUrlPattern": "ControllerHandler 类型的需要填写具体的 URL Pattern,例如 /hello_controller",
"decompileTip": "反编译还在开发中,因此当前仅能看到 base64 编码格式",
"download-jattach": "下载 Jattach 工具(后期考虑直接封装在 Jar 中)",
"download-jattach": "下载 Jattach 工具",
"execute-command": "执行命令进行注入:/path/to/jattach pid load instrument false /path/to/agent.jar",
"execute-command1": "执行命令进行注入:java -jar /path/to/agent.jar pid",
"get-pid": "获取目标 jvm 的进程 pid(使用 jps 或 ps",
"handlerUrlPattern": "HandlerMethod/HandlerFunction 类型的需要填写具体的 URL Pattern,例如 /hello_handler",
"jreTip": "目标 JRE 版本,一般而言为了最大的兼容性,默认 Java 6 即可,Java 高版本能加载低版本的字节码。",
"jreTip2": "特定情况下,例如 JDK8 才能使用 lambda 表达式,JDK9 以上存在模块限制时才需要选择特定的版本。",
"move-to-container": "将 MemShellAgent.jar 和 jattach 移动到容器中(如果测试环境使用容器部署)",
"agent-move-to-target": "将 MemShellAgent.jar 和 jattach 移到到目标服务磁盘上",
"agent-move-to-target1": "将 MemShellAgent.jar 移到到目标服务磁盘上",
"servletUrlPattern": "Servlet 类型的需要填写具体的 URL Pattern,例如 /hello_servlet",
"shellBytesEmpty": "内存马字节码为空,无法下载,请先生成内存马",
"shellToolNotSelected": "请先选择内存马工具类型",