# java-memshell-generator ## 0x01 简介 jMG (Java Memshell Generator) 是一款支持高度自定义的 Java 内存马生成工具,可作为 [woodpecker](https://github.com/woodpecker-framework/woodpecker-framework-release) 的插件使用,提供常见中间件的内存马注入支持,使用文档详见[公众号文章](https://mp.weixin.qq.com/s/oAiGWY9ABhn2o148snA_sg)。 ## 0x02 中间件/框架覆盖情况 - 中间件 | | listener | filter | | --------------- | ----------------- | --------------- | | tomcat 9.0.39 | ✅ | ✅ | | tomcat 8.5.53 | ✅ | ✅ | | tomcat 7.0.59 | ✅ | ✅ | | tomcat 6.0.48 | ✅ | ✅ | | tomcat 5.5.36 | ✅ | ✅ | | jetty 9.4.43 | ✅ | ✅ | | jetty 8.2.0 | ✅ | ✅ | | jetty 7.6.0 | ✅ | ✅ | | resin 4.0.66 | ✅ | ✅ | | resin 3.1.15 | ✅ | ✅ | | weblogic 10.3.6 | ✅ | ✅ | | weblogic 12.1.3 | ✅ | ✅ | | weblogic 14.1.1 | ✅ | ✅ | | websphere 7.x | ✅ | ✅ | | websphere 8.5.5 | ✅ | ✅ | | websphere 9.0.0 | ✅ | ✅ | | undertow 1.4.26 | ✅ | ✅ | | glassfish 5.0.0 | ✅ | ✅ | - 框架 | | interceptor | action | | --------------- | ----------------- | ----------------- | | spring mvc | ✅ | | | strust2 | | | ## 0x03 演示 image ## 0x04 致谢 SGLAB of Legendsec at Qi'anxin Group SgLab ## 0x05 参考 ``` https://github.com/feihong-cs/memShell https://github.com/su18/MemoryShell https://github.com/woodpecker-framework/ https://github.com/BeichenDream/GodzillaMemoryShellProject ```