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

CommonsBeanutils1生成ser后要怎么使用? #15

Closed
maybe-why-not opened this issue Jun 3, 2021 · 8 comments
Closed

CommonsBeanutils1生成ser后要怎么使用? #15

maybe-why-not opened this issue Jun 3, 2021 · 8 comments

Comments

@maybe-why-not
Copy link

maybe-why-not commented Jun 3, 2021

生成ser的过程也没有填key(⊙o⊙)?

@wh1t3p1g
Copy link
Owner

wh1t3p1g commented Jun 3, 2021

生成ser的过程也没有填key(⊙o⊙)?

额,cb1好像不用key。你说的是shiro的么?

@maybe-why-not
Copy link
Author

对,就这个
image

@wh1t3p1g
Copy link
Owner

wh1t3p1g commented Jun 5, 2021

可以看一下https://github.com/wh1t3p1g/ysomap/blob/master/core/src/main/java/ysomap/core/exploit/framework/shiro/ShiroRCE1.java
先使用这个exploit,然后选择cb1为payload

@maybe-why-not
Copy link
Author

image
设置完exploit、payload后,exploit部分还是提示need to set a payload

@wh1t3p1g
Copy link
Owner

wh1t3p1g commented Jun 5, 2021

这个need to set a payload不用管
顺序是设置exploit->payload->bullet

use exploit ShiroRCE1
// set options
use payload cb1
use bullet Templ...
// set options
run

@maybe-why-not
Copy link
Author

maybe-why-not commented Jun 5, 2021

image
xray验证出key,ysomap不能
image

@wh1t3p1g
Copy link
Owner

wh1t3p1g commented Jun 5, 2021

我这边暂时没有环境,之前测试是可以的
你可以把下面的verify去掉
image
然后打印一下加密后的数据,调试看看问题在哪里

@wh1t3p1g
Copy link
Owner

您好,
最新版修复了ShiroRce1,如果环境还在,可以确认一下。
当前exp已通过vulhub的shiro环境的测试。

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