3 Commits
Author SHA1 Message Date
pen4uin d10b20d9a4 update readme. 2023-09-03 15:37:39 +08:00
pen4uin c823e62e72 update README 2023-07-21 22:08:16 +08:00
pen4uin 9a2dd6d02a jMG v1.0.5 发布
添加对 GUI 图形化工作模式的支持
2023-06-10 11:34:18 +08:00
4 changed files with 48 additions and 48 deletions
-24
View File
@@ -1,24 +0,0 @@
#### 2023-06-09
- [BUG] 修复"小黑屋"内测功能 bug
- [优化] 添加窗口拉伸支持
- [优化] 添加鼠标右键菜单,复制选中内容/复制全部内容
#### 2023-06-08 GUI 图形化工作模式开发
- 完成 GUI 设计
- 移植插件版功能
<img width="900" alt="image" src="https://github.com/pen4uin/java-memshell-generator/assets/55024146/19ef194c-8ec9-41e6-add6-1ff4671acb34">
#### 2023-06-04 v1.0.4.beta1 社区版首次发布
- 支持的中间件和框架 (Tomcat/Resin/Jetty/WebLogic/WebSphere/Undertow/GlassFish/Spring)
- 支持的网站管理工具 (Behinder/Godzilla/Custom)
- 支持的内存马类型 (Filter/Listener/Interceptor)
- 支持的输出格式 (BASE64/BCEL/CLASS/JS/JSP/JAR/BIGINTEGER)
- 支持的辅助模块 (探测目标中间件/序列化数据封装)
+47 -23
View File
@@ -1,13 +1,29 @@
# java-memshell-generator
## 0x01 工具简介
## 0x01 简介
jMG (Java Memshell Generator) 是一款支持高度自定义的 Java 内存马生成工具,提供常见中间件的内存马注入支持。
jMG (Java Memshell Generator) 是一款支持高度自定义的 Java 内存马生成工具,提供常见中间件的内存马注入支持。不仅可作为 [woodpecker](https://github.com/woodpecker-framework/woodpecker-framework-release) 的插件使用,也可以作为独立的 GUI 工具进行使用,文档详见[公众号文章](https://mp.weixin.qq.com/s/oAiGWY9ABhn2o148snA_sg)。
- 支持的中间件和框架 (Tomcat/Resin/Jetty/WebLogic/WebSphere/Undertow/GlassFish/SpringMVC/SpringWebFlux)
- 支持的工具 (AntSword/Behinder/Godzilla/Suo5)
- 支持的内存马类型 (Filter/Listener/Interceptor/HandlerMethod)
- 支持的输出格式 (BASE64/BCEL/CLASS/JS/JSP/JAR/BIGINTEGER)
- 支持的辅助模块 (专项漏洞封装/表达式语句封装)
![](./img/gui.png)
**免责声明**
```
该工具仅适用于在授权环境/测试环境进行使用,请勿用于生产环境。
```
## 0x02 中间件/框架覆盖情况
注:以下测试结果仅供参考
#### 中间件
@@ -32,41 +48,49 @@ jMG (Java Memshell Generator) 是一款支持高度自定义的 Java 内存马
| undertow 1.4.26 | ✅ | ✅ |
| glassfish 5.0.0 | ✅ | ✅ |
#### 框架
| | interceptor | action |
| --------------- | ----------------- | ----------------- |
| | interceptor | handlermethod |
|----------------| ----------------- |-------------|
| spring mvc | ✅ | |
| strust2 | | |
| spring webflux | | |
## 0x03 两种工作模式
#### Woodpecker 插件工作模式
<img width="877" alt="image" src="https://github.com/pen4uin/java-memshell-generator/assets/55024146/1b07d338-5cd9-4035-8566-be2d4ae914d4">
#### GUI 图形化工作模式
<img width="877" alt="image" src="https://github.com/pen4uin/java-memshell-generator/assets/55024146/d61ea557-3b76-490a-b9b6-f47f2db5a45a">
## 0x03 致谢与引用
## 0x04 致谢
Sponsor
```text
奇安信观星实验室(SGLAB of Legendsec at Qi'anxin Group)
```
SGLAB of Legendsec at Qi'anxin Group
<img src="./img/sglab.svg" width=300 alt="SgLab">
<img src="./images/sglab.svg" width=300 alt="SgLab">
## 0x05 参考项目
Contributors
```text
https://github.com/c0ny1
https://github.com/whwlsfb
```
References
```
https://github.com/woodpecker-framework/
https://github.com/woodpecker-appstore/jexpr-encoder-utils
https://github.com/feihong-cs/memShell
https://github.com/su18/MemoryShell
https://github.com/BeichenDream/GodzillaMemoryShellProject
https://github.com/woodpecker-appstore/jexpr-encoder-utils
https://github.com/whwlsfb/cve-2022-22947-godzilla-memshell
```
## 0x04 其他
1. 参考文档
- [jMG v1.0.4 (使用手册)](https://mp.weixin.qq.com/s/oAiGWY9ABhn2o148snA_sg)
- [jMG v1.0.5](https://mp.weixin.qq.com/s/QjoRs_J5jVANrdEiiTtVtA)
- [jMG v1.0.6](https://mp.weixin.qq.com/s/0ZzH35aRUPelq8nwilMQiA)
2. 技术交流
- 期待更多反馈,如果遇到 Bug / 建议 / 需求,欢迎提 Issue 互相交流
3. 注意
- jMG v1.0.6 暂不支持 woodpecker 插件模式
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB