docs: add WIP structure
Dev Deploy / Build Jar (push) Has been cancelled
Dev Deploy / Docker Push (push) Has been cancelled
Dev Deploy / Deploy to Maven Central (push) Has been cancelled
Dev Deploy / Deploy to Northflank (push) Has been cancelled

This commit is contained in:
ReaJason
2025-12-20 23:34:24 +08:00
parent 7638cf8f36
commit 6388e79f14
59 changed files with 434 additions and 35 deletions
@@ -0,0 +1,5 @@
---
title: AbstractTranslet
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: Agent Jar
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: Base64
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: BCEL
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: BigInteger
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: 表达式注入
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: H2 JDBC URL
---
WIP
@@ -0,0 +1,5 @@
---
title: Hessian 反序列化
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: Jar
---
WIP
@@ -0,0 +1,5 @@
---
title: Java 原生反序列化
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: JSP
---
WIP
+19
View File
@@ -0,0 +1,19 @@
{
"title": "打包方式",
"pages": [
"base64",
"jsp",
"biginteger",
"bcel",
"abstract-translet",
"script-engine",
"expression",
"ssti",
"xml-decoder",
"java-deserialize",
"hessian-deserialize",
"h2",
"jar",
"agent-jar"
]
}
@@ -0,0 +1,7 @@
---
title: 脚本引擎注入
---
### Nashorn ScriptEngine
### Rhino ScriptEngine
+5
View File
@@ -0,0 +1,5 @@
---
title: 模板注入
---
WIP
@@ -0,0 +1,5 @@
---
title: XMLDecoder
---
WIP
+10
View File
@@ -0,0 +1,10 @@
---
title: Java Agent 内存马
---
## Java Agent 原理
## Java Agent 内存马实现方案
## 切点选取
+27 -24
View File
@@ -8,7 +8,7 @@ icon: Album
### 中间件以及框架
| Tomcat5 ~ 11 | Jetty6 ~ 12 | GlassFish3 ~ 7 | Payara5 ~ 6 |
| [Tomcat5 ~ 11](/docs/server-intro#tomcat) | [Jetty6 ~ 12](/docs/server-intro#jetty)| [GlassFish3 ~ 7](/docs/server-intro#glassfish) | [Payara5 ~ 6](/docs/server-intro#payara)|
|----------------------|------------------------|----------------------|----------------------|
| Servlet | Servlet | Filter | Filter |
| Filter | Filter | Listener | Listener |
@@ -19,14 +19,14 @@ icon: Album
| ContextValve - Agent | | | |
| Upgrade | | | |
| Resin3 ~ 4 | SpringMVC | SpringWebFlux | XXL-JOB |
| [Resin3 ~ 4](/docs/server-intro#resin) | [SpringWebMVC](/docs/server-intro#springwebmvc) | [SpringWebFlux](/docs/server-intro#springwebflux) | [XXL-JOB](/docs/server-intro#xxljob) |
|---------------------|--------------------------|-----------------|--------------|
| Servlet | Interceptor | WebFilter | NettyHandler |
| Filter | ControllerHandler | HandlerMethod | |
| Listener | FrameworkServlet - Agent | HandlerFunction | |
| FilterChain - Agent | | NettyHandler | |
| JBossAS4 ~ 7 | JBossEAP6 ~ 8 | WildFly9 ~ 30 | Undertow |
| [JBossAS4 ~ 7](/docs/server-intro#jboss) | [JBossEAP6 ~ 8](/docs/server-intro#undertow)| [WildFly9 ~ 30](/docs/server-intro#wildfly) | [Undertow](/docs/server-intro#undertow)|
|----------------------|----------------------------|------------------------|------------------------|
| Filter | Filter | Servlet | Servlet |
| Listener | Listener | Filter | Filter |
@@ -35,14 +35,14 @@ icon: Album
| FilterChain - Agent | ContextValve - Agent (6) | | |
| ContextValve - Agent | ServletHandler - Agent (7) | | |
| WebSphere7 ~ 9 | WebLogic 10.3.6 ~ 14 |
| [WebSphere7 ~ 9](/docs/server-intro#websphere)| [WebLogic (10.3.6 ~ 14)](/docs/server-intro#weblogic) |
|-----------------------|-------------------------|
| Servlet | Servlet |
| Filter | Filter |
| Listener | Listener |
| FilterManager - Agent | ServletContext - Agent |
| BES9.5.x | TongWeb6 ~ 8 | InforSuite AS 9 ~ 10 |
| [BES (9.5.x)](/docs/server-intro#bes)| [TongWeb6 ~ 8](/docs/server-intro#tongweb) | [InforSuite AS (9 ~ 10)](/docs/server-intro#inforsuite) |
|----------------------|----------------------|------------------------|
| Filter | Filter | Filter |
| Listener | Listener | Listener |
@@ -50,7 +50,7 @@ icon: Album
| FilterChain - Agent | FilterChain - Agent | FilterChain - Agent |
| ContextValve - Agent | ContextValve - Agent | ContextValve - Agent |
| Apusic AS 9 ~ 10 | Primeton6.5 |
| [Apusic AS (9 ~ 10)](/docs/server-intro#apusic) | [Primeton (6.5)](/docs/server-intro#primeton)|
|---------------------|----------------------|
| Servlet | Filter |
| Filter | Listener |
@@ -60,27 +60,30 @@ icon: Album
### 内存马功能
- [x] [Godzilla 哥斯拉](/docs/godzilla)
- [x] [Behinder 冰蝎](https://github.com/rebeyond/Behinder)
- [x] 命令执行
- [x] [Suo5](/docs/suo5)
- [x] [AntSword 蚁剑](https://github.com/AntSwordProject/antSword)
- [x] [Neo-reGeorg](https://github.com/L-codes/Neo-reGeorg)
- [x] Custom
- [x] [Godzilla 哥斯拉](/docs/shelltool/godzilla)
- [x] [Behinder 冰蝎](/docs/shelltool/behinder)
- [x] [命令执行](/docs/shelltool/command)
- [x] [Suo5](/docs/shelltool/suo5)
- [x] [AntSword 蚁剑](/docs/shelltool/antsword)
- [x] [Neo-reGeorg](/docs/shelltool/neoregeorg)
- [x] [Custom](/docs/custom-memshell)
### 打包方式
- [x] BASE64/GZIP BASE64
- [x] JSP/JSPX
- [x] JAR、ScriptEngineJar、GroovyTransformJar
- [x] BCEL
- [x] 内置脚本引擎、Rhino 脚本引擎
- [x] EL、SpEL、OGNL、Aviator、MVEL、JEXL、Groovy、JXPath、BeanShell
- [x] Velocity、Freemarker、JinJava
- [x] 原生反序列化(CB 和 CC 链)
- [x] Agent
- [x] [BASE64](/docs/base64)
- [x] [JSP/JSPX](/docs/jsp)
- [x] [BigInteger](/docs/biginteger)
- [x] [BCEL](/docs/bcel)
- [x] [AbstractTranslet](/docs/abstract-translet)
- [x] [BCEL](/docs/bcel)
- [x] [内置脚本引擎、Rhino 脚本引擎](/docs/script-engine)
- [x] [表达式注入(EL、SpEL、OGNL、Aviator、MVEL、JEXL、Groovy、JXPath、BeanShell](/docs/expression)
- [x] [模板注入(Velocity、Freemarker、JinJava](/docs/ssti)
- [x] [Java 原生反序列化(CB 和 CC 链)](/docs/java-deserialize)
- [x] [Hessian、Hessian2 反序列化(XSLT 链)](/docs/hessian-deserialize)
- [x] [H2](/docs/h2)
- [x] [JAR、ScriptEngineJar、GroovyTransformJar](/docs/jar)
- [x] [Agent](/docs/agent-jar)
- [x] XXL-JOB Executor
- [x] Hessian、Hessian2 反序列化(XSLT 链)
- [x] H2
- [ ] JNDI
- [ ] 其他常见反序列化
+3 -3
View File
@@ -41,11 +41,11 @@ description: 了解和使用那些可能用到的一键开关
所需要注入内存马工具类型,目前支持以下几种方式:
- [x] [Godzilla](/docs/godzilla)
- [x] [Godzilla](/docs/shelltool/godzilla)
- [x] Behinder
- [x] Command
- [x] [Suo5](/docs/suo5)
- [x] [Suo5v2](/docs/suo5)
- [x] [Suo5](/docs/shelltool/suo5)
- [x] [Suo5v2](/docs/shelltool/suo5)
- [x] AntSword
- [x] NeoreGeorg
- [x] Custom:自定义内存马,用于上续工具都不是想要的情况下,参考 [实现自定义内存马](/docs/custom-memshell) 进行使用
+9 -2
View File
@@ -11,9 +11,16 @@
"memshell-core-config",
"servlet",
"springweb",
"struct2-shell",
"middleware",
"shelltool",
"agent-shell",
"custom-memshell",
"---内存马工具---",
"...(shelltool)",
"---探测马生成器---",
"probeshell-core-config",
"resbody",
"---打包方式---",
"...(packer)",
"---其他---",
"recommend-tools"
]
+7
View File
@@ -0,0 +1,7 @@
---
title: Jetty
---
## Handler 内存马
## Customizer 内存马
+7
View File
@@ -0,0 +1,7 @@
{
"title": "中间件内存马",
"pages": [
"tomcat",
"jetty"
]
}
+9
View File
@@ -0,0 +1,9 @@
---
title: Tomcat
---
## Valve 内存马
## ProxyValve 内存马
## Upgrade 内存马
@@ -0,0 +1,5 @@
---
title: 核心配置项
---
WIP
+4 -4
View File
@@ -1,15 +1,15 @@
---
title: 工具推荐
description: 工欲善其事必先利其器
---
> 工欲善其事必先利其器
## Arthas
Arthas 是阿里云开源的 Java 诊断工具,其本质是一个 Java Agent,它提供了各种各样的命令,能让我们洞察 JVM 各种细节信息。所有的使用姿势 [官方文档](https://arthas.aliyun.com/) 都有,以下会列举一些常见的场景和问题
JDK8 以上的下载链接https://arthas.aliyun.com/doc/download.html
JDK6/7 下载链接,https://arthas.aliyun.com/3.x/doc/download.html
JDK8 以上的下载链接https://arthas.aliyun.com/doc/download.html
JDK6/7 下载链接:https://arthas.aliyun.com/3.x/doc/download.html
### 启动 Arthas
+5
View File
@@ -0,0 +1,5 @@
---
title: Apusic
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: GlassFish
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: Jetty
---
WIP
+16
View File
@@ -0,0 +1,16 @@
{
"title": "回显马",
"pages": [
"tomcat",
"jetty",
"undertow",
"resin",
"weblogic",
"websphere",
"glassfish",
"tongweb",
"apusic",
"springwebmvc",
"struct2"
]
}
+5
View File
@@ -0,0 +1,5 @@
---
title: Resin
---
WIP
@@ -0,0 +1,5 @@
---
title: SpringWebMVC
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: Struct2
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: Tomcat
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: TongWeb
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: Undertow
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: WebLogic
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: WebSphere
---
WIP
+7
View File
@@ -359,3 +359,10 @@ SpringWebMVC 进行内存马生成。
Spring Boot 项目中基于 reactor 异步 IO 模型的服务组件,底层使用的 Netty,一般常见于各种 SpringCloud 项目,例如网关。服务类型选择
SpringWebFlux 进行内存马生成。
## XXL-JOB
> 官网:https://www.xuxueli.com/xxl-job/
XXL-JOB 是一个分布式任务调度平台,由于 executor 出现过反序列化漏洞,并且弱密码情况下可在 admin 前台下发任务,在 executor 执行任意代码,因此在 MemShellParty 中也提供了 XXL-JOB 内存马的生成,服务类型选择 XXL-JOB 进行内存马生成。
executor 仅支持 Netty Handler 内存马注入。
@@ -0,0 +1,11 @@
---
title: Apusic AS
---
## 获取 ServletContext
## 动态添加 Servlet
## 动态添加 Filter
## 动态添加 Listener
@@ -0,0 +1,9 @@
---
title: BES
---
## 获取 ServletContext
## 动态添加 Filter
## 动态添加 Listener
@@ -0,0 +1,9 @@
---
title: GlassFish
---
## 获取 ServletContext
## 动态添加 Filter
## 动态添加 Listener
@@ -0,0 +1,11 @@
---
title: InforSuite AS
---
## 获取 ServletContext
## 动态添加 Servlet
## 动态添加 Filter
## 动态添加 Listener
@@ -0,0 +1,9 @@
---
title: JBoss
---
## 获取 ServletContext
## 动态添加 Filter
## 动态添加 Listener
@@ -0,0 +1,11 @@
---
title: Jetty
---
## 获取 ServletContext
## 动态添加 Servlet
## 动态添加 Filter
## 动态添加 Listener
@@ -0,0 +1,16 @@
{
"pages": [
"tomcat",
"jetty",
"undertow",
"jboss",
"resin",
"weblogic",
"websphere",
"glassfish",
"tongweb",
"bes",
"inforsuite",
"apusic"
]
}
@@ -0,0 +1,11 @@
---
title: Resin
---
## 获取 ServletContext
## 动态添加 Servlet
## 动态添加 Filter
## 动态添加 Listener
@@ -0,0 +1,11 @@
---
title: Tomcat
---
## 获取 ServletContext
## 动态添加 Servlet
## 动态添加 Filter
## 动态添加 Listener
@@ -0,0 +1,11 @@
---
title: TongWeb
---
## 获取 ServletContext
## 动态添加 Servlet
## 动态添加 Filter
## 动态添加 Listener
@@ -0,0 +1,9 @@
---
title: Undertow
---
## 获取 ServletContext
## 动态添加 Filter
## 动态添加 Listener
@@ -0,0 +1,11 @@
---
title: WebLogic
---
## 获取 ServletContext
## 动态添加 Servlet
## 动态添加 Filter
## 动态添加 Listener
@@ -0,0 +1,11 @@
---
title: WebSphere
---
## 获取 ServletContext
## 动态添加 Servlet
## 动态添加 Filter
## 动态添加 Listener
+8 -2
View File
@@ -1,4 +1,10 @@
{
"title": "Java Servlet 规范内存马",
"pages": ["servlet", "filter", "listener"]
}
"pages": [
"servlet",
"filter",
"listener",
"---Servlet 容器---",
"...(container)"
]
}
+5
View File
@@ -0,0 +1,5 @@
---
title: AntSword
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: Behinder
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: Command
---
WIP
+11
View File
@@ -0,0 +1,11 @@
{
"title": "内存马工具",
"pages": [
"godzilla",
"suo5",
"behinder",
"command",
"antsword",
"neoregeorg"
]
}
@@ -0,0 +1,5 @@
---
title: Neo-ReGeorg
---
WIP
+5
View File
@@ -0,0 +1,5 @@
---
title: Struct2 框架内存马
---
## Action 内存马