Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
J

java-memshell-generator

> 编程语言
Open source

一款支持自定义的 Java 内存马生成工具|A customizable Java in-memory webshell generation tool.

2.2K stars0 likes0 views
WebsiteGitHub

About

一款支持自定义的 Java 内存马生成工具|A customizable Java in-memory webshell generation tool.

English | 中文

Java Memshell Generator


> [!WARNING] > 本工具仅供安全研究和学习使用。使用者需自行承担因使用此工具产生的所有法律及相关责任。请确保你的行为符合当地的法律和规定。作者不承担任何责任。如不接受,请勿使用此工具。
## 功能 | 中间件 | 框架 | 工具 (测试版本) | 内存马类型 | 输出格式 | 辅助模块 | | ------------------ | ------------- | ------------------------------------------------------------ | ------------- | ---------- | -------------- | | Tomcat | SpringMVC | [AntSword](https://github.com/AntSwordProject/antSword) (2.1.15) | Listener | BASE64 | 专项漏洞封装 | | Resin | SpringWebFlux | [Behinder](https://github.com/rebeyond/Behinder) (4.0.7) | Filter | BCEL | 表达式语句封装 | | WebLogic | | [Godzilla](https://github.com/BeichenDream/Godzilla) (4.0.1) | Interceptor | BIGINTEGER | | | Jetty | | [Neo-reGeorg](https://github.com/L-codes/Neo-reGeorg) (5.1.0) | HandlerMethod | CLASS | | | WebSphere | | [Suo5](https://github.com/zema1/suo5) (0.9.0) | TomcatValve | JAR | | | Undertow | | Custom | | JAR_AGENT | | | GlassFish | | | | JS | | | Apusic(金蝶) | | | | JSP | | | BES(宝兰德) | | | | | | | InforSuite(中创) | | | | | | | TongWeb(东方通) | | | | | | | | | | | | | ## 编译 maven (v3.9.3) ```shell mvn package assembly:single ``` ## 使用 **图形化** ```shell java -jar ./releases/jmg-gui-1.0.9.jar ``` **命令行** ```shell java -jar ./releases/jmg-cli-1.0.9.jar ``` **Woodpecker 插件** 将 jmg-woodpecker-1.0.9.jar 添加到 woodpecker 插件目录 **第三方库 (Maven)** 1.将 jmg-sdk-1.0.9.jar 安装到本地 maven 仓库 ```shell mvn install:install-file -Dfile=./releases/jmg-sdk-1.0.9.jar -DgroupId=jmg -DartifactId=jmg-sdk -Dversion=1.0.9 -Dpackaging=jar ``` 2.添加为依赖 ```xml jmg jmg-sdk 1.0.9 ``` 3.示例 ``` // 基础配置 AbstractConfig config = new AbstractConfig() {{ // 设置工具类型 setToolType(Constants.TOOL_GODZILLA); // 设置中间件 or 框架 setServerType(Constants.SERVER_TOMCAT); // 设置内存马类型 setShellType(Constants.SHELL_LISTENER); // 设置输出格式为 BASE64 setOutputFormat(Constants.FORMAT_BASE64); // 设置漏洞利用封装,默认不启用 setGadgetType(Constants.GADGET_NONE); // 初始化基础配置 build(); }}; jMGenerator generator = new jMGenerator(config); generator.genPayload(); generator.printPayload(); // 连接信息 SDKResultUtil.printBasicInfo(config); SDKResultUtil.printDebugInfo(config); ``` ## 文档 - [jMG v1.0.8](./jmg-docs/1.0.8/) - [jMG v1.0.6](./jmg-docs/1.0.6/) - [jMG v1.0.5](./jmg-docs/1.0.5/) - [jMG v1.0.4](./jmg-docs/1.0.4/) ## 致谢 - https://github.com/c0ny1 - https://github.com/whwlsfb - https://github.com/feihong-cs/memShell - https://github.com/su18/MemoryShell - https://github.com/BeichenDream/GodzillaMemoryShellProject ## 协议 - MIT

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javajavamemshellpayloadreal-world

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言