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

后台管理密码是什么...加密了...自己加的又加不了 #17

Open
yeah1804 opened this issue Jul 10, 2018 · 1 comment
Open

Comments

@yeah1804
Copy link

s

@geekxingyun
Copy link

默认账号是admin 默认密码是123456

反推测代码如下:

	public static void main(String[] args) {
		PasswordEncoder passwordEncoder = new StandardPasswordEncoderForSha1();

		String username="admin";
		String originPassword="123456";
		String password = passwordEncoder.encode(originPassword + "{" + username + "}");
		//260acbffd3c30786febc29d7dd71a9880a811e77
		System.out.println(password);
}

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