Files
MemShellParty/README.md
T
2024-12-24 22:50:10 +08:00

106 lines
4.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# MemShellParty
[![license](https://img.shields.io/github/license/reajason/memshellparty?style=flat-square&label=License)](https://github.com/ReaJason/MemShellParty?tab=MIT-1-ov-file)
[![test](https://img.shields.io/github/actions/workflow/status/reajason/memshellparty/ci.yaml?label=Test&branch=master&style=flat-square)](https://github.com/ReaJason/MemShellParty/actions)
[![build](https://img.shields.io/github/actions/workflow/status/reajason/memshellparty/build.yaml?label=Build&branch=master&style=flat-square)](https://github.com/ReaJason/MemShellParty/actions)
[![coverage](https://img.shields.io/endpoint?label=Coverage&url=https://raw.githubusercontent.com/reajason/memshellparty/master/.github/badges/jacoco.json&style=flat-square)](https://github.com/ReaJason/MemShellParty/actions)
[![telegram](https://img.shields.io/endpoint?label=TG%E4%BA%A4%E6%B5%81%E7%BE%A4&style=flat-square&url=https://mogyo.ro/quart-apis/tgmembercount?chat_id=memshell)](https://t.me/memshell)
> [!WARNING]
> 本工具仅供安全研究人员、网络管理员及相关技术人员进行授权的安全测试、漏洞评估和安全审计工作使用。使用本工具进行任何未经授权的网络攻击或渗透测试等行为均属违法,使用者需自行承担相应的法律责任。
> [!TIP]
> [GitHub Actions](https://github.com/ReaJason/MemShellParty/actions/workflows/ci.yaml)
> 最新一次构建会打印集成测试用例测试结果,可通过此来了解当前支持进度。
> [!WARNING]
> 项目仍在快速迭代过程中(代码结构十分不稳定)部分不方便在此处添加的测试用中间件有机会会在上方 TG 交流群分享,欢迎加入一起学习交流~
![screenshot](docs/screenshot.png)
## 适配情况
已兼容 Java6 ~ Java8、Java9、Java11、Java17、Java21
### 中间件以及框架
| Tomcat5 ~ 11 | Jetty6 ~ 11 | GlassFish3 ~ 7 | Payara5 ~ 6 |
|----------------|---------------|------------------|---------------|
| Servlet | Servlet | Filter | Filter |
| Filter | Filter | Listener | Listener |
| Listener | Listener | Valve | Valve |
| Valve | | | |
| Resin3 ~ 4 | SpringMVC | SpringWebFlux | Netty |
|--------------|-------------------|---------------|-------|
| Servlet | Interceptor | x | x |
| Filter | ControllerHandler | | |
| Listener | | | |
| JBossAS4 ~ 7 | JBossEAP6 ~ 7 | WildFly9 ~ 30 | Undertow |
|----------------|-----------------|-----------------|----------|
| Filter | Filter | Servlet | Servlet |
| Listener | Listener | Filter | Filter |
| | | Listener | Listener |
| WebSphere7 ~ 9 | WebLogic 10.3.6 ~ 14 |
|------------------|-------------------------|
| Servlet | Servlet |
| Filter | Filter |
| Listener | Listener |
| 宝兰德 BES | 东方通 TongWeb | 中创 InforSuite AS 9 ~ 10 | 金蝶 Apusic AS |
|---------|-------------|---------------------------|--------------|
| x | x | Filter | x |
| x | x | Listener | x |
| x | x | Valve | x |
### 内存马功能
- [x] 哥斯拉
- [x] 冰蝎
- [x] 命令执行
- [ ] Suo5
- [ ] Neo-reGeorg
- [ ] Custom
### 封装方式
- [x] JSP
- [x] BCEL
- [x] BASE64
- [x] 脚本引擎
- [x] EL、SpEL、OGNL
- [x] Velocity、Freemarker
- [x] 原生反序列化(CB4
- [ ] JNDI
- [ ] Agent
- [ ] JDBC 连接
- [ ] 其他常见反序列化
## Usage
使用 docker 部署之后访问 http://127.0.0.1:8080
```bash
docker run -it -d --rm --pull=always --name memshell -p 8080:8080 reajason/memshell-party
```
## How
1. 如何使用 bytebuddy 生成类,为属性赋值,添加方法,指定位置调用方法?(**WIP**)
2. 如何调试内存马,为什么内存马注入了却不可用?(**WIP**)
## Contribute
> It will be so nice if you want to contribute. 🎉
参考 [CONTRIBUTE.md](CONTRIBUTING.md)。
## Thanks
- [pen4uin/java-memshell-generator](https://github.com/pen4uin/java-memshell-generator)
### Let's start the party 🎉