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

commons-beanutils依赖问题debug #50

Open
X1SP opened this issue Jul 30, 2023 · 1 comment
Open

commons-beanutils依赖问题debug #50

X1SP opened this issue Jul 30, 2023 · 1 comment

Comments

@X1SP
Copy link

X1SP commented Jul 30, 2023

我在本地测试了一下4.3版本和最新版本打无CC shiro环境
如图:4.3可以打CommonsBeanutilsString,4.7不行
image
我去看了下4.3版本时的代码,CommonsBeanutilsString的payload代码一致,于是我怀疑问题在pom里
我看到4.3版本的pom里commons-beanutils是被注释掉的(https://github.com/SummerSec/ShiroAttack2/blob/e8508eba9182e12f27b0dba4ca17889155922f35/pom.xml)
image
于是我本地打包代码时注释掉了commons-beanutils,运行结果如下,修改了pom依赖的新版工具检测到了CommonsBeanutilsString,并命令执行成功
image
image
image

顺带一提,我还试了下把pom中commons-beanutils的版本从1.9.2改为1.8.3,打包后也能检测到CommonsBeanutilsString

希望对你debug有帮助

@SummerSec
Copy link
Owner

4.7 打无CC shiro环境 应该是用 CommonsBeanutilsString_183 。

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