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

哥斯拉内存马md5与初始化问题 #55

Open
LDAx2012 opened this issue Nov 8, 2023 · 0 comments
Open

哥斯拉内存马md5与初始化问题 #55

LDAx2012 opened this issue Nov 8, 2023 · 0 comments

Comments

@LDAx2012
Copy link

LDAx2012 commented Nov 8, 2023

image

哥斯拉的md5在构造函数中生成,而pwd在equals方法中获取,会导致所有的md5都是由默认密码生成的,哥斯拉初始化需要校验pass和xc的md5,只要修改密码就无法完成初始化
image

image

在密码是pass1的情况下md5还是md5(pass10243c6e0b8a9c15224a) = 38F3ABE85948D564D7028F042ACDF2CA
而正常情况下应该是md5(pass13c6e0b8a9c15224a) = 54AA0D501316027804089C32881B6C02
image

修改建议:
在doFilter()方法或者equals()方法处对md5进行赋值,
image

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

1 participant