黑客技术
点击放大

Materials about JNDI Injection
中文文档
相关文章
JNDI-Injection-Exploit is a 工具 for generating workable JNDI links and provide background services by starting RMI 服务端,LDAP 服务端 and HTTP 服务端. RMI 服务端 and LDAP 服务端 are based on marshals and modified further to link with HTTP 服务端.
Using this 工具 allows you get JNDI links, you can insert these links into your POC to test .
For example, this is a Fastjson :
We can replace "rmi://127.0.0.1:1099/Object" with the link generated by JNDI-Injection-Exploit to test .
All information and 代码 is provided solely for educational purposes and/or testing your own systems for these .
Run as
where:
(optional , default command is "open /Applications/Calculator.app")
(optional , default address is the first 网络 interface address)
Points for attention:
or you can change the default port in the run.Ser class line 26~28.
so you need to ensure your command is workable in method exec().
Command in bash like "bash -c ...." need to add Double quotes.
Local demo:
1. Start the tool like this:
Screenshot:
!image-346759
2. Assume that we inject the JNDI links like rmi://ADDRESS/jfxllc generated in step 1 to a application which can be attacked by JNDI injection.
In this example, it looks like this:
then when we run this 代码, the command will be executed ,
and the log will be printed in shell:
!image-515787
We can select one of the two methods to get the jar.
1. Download the latest jar from Realease.
2. Clone the 源码 代码 to local and build (Requires Java 1.8+ and Maven 3.x+).
开发语言:Java
Star 数:2830
该项目属于黑客技术方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕JNDI注入测试工具(A 工具 which generates JNDI links can start several servers to exploit JNDI Injection ,like Jackson,Fastjson,etc)展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | JNDI-Injection-Exploit - JNDI注入测试工具(A tool which generates JNDI links can s |
| 所属分类 | 黑客技术 |
| 发布作者 | admin |
| 发布时间 | 2026-10-05 22:10:29 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 424 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |