简体   繁体   English

在非wp环境中使用wordpress生成的密码登录

[英]login with a wordpress generated password in a non-wp environment

My client gave me a bunch of databases with wordpress generated passwords. 我的客户给了我一堆使用wordpress生成的密码的数据库。 Now he wants me to make a login system, but not with wordpress (I must use those wp-generated passwords). 现在他要我创建一个登录系统,但不要使用wordpress(我必须使用那些由wp生成的密码)。 Is there a way to make use of those passwords? 有没有办法使用这些密码?

Thanks! 谢谢!

IF you know what algorythm was used to encrypt passwords in your Wordpress database, you can easily write your own function for comparing passwords for your login system using the same HASH. 如果您知道使用哪种算法对您的Wordpress数据库中的密码进行加密,则可以轻松编写自己的函数,以使用相同的HASH比较登录系统的密码。

Here is some more info on WP_HASH: http://codex.wordpress.org/Function_Reference/wp_hash_password 以下是有关WP_HASH的更多信息: http ://codex.wordpress.org/Function_Reference/wp_hash_password

EDIT: Very good article about Wordpress Password Hashes: http://resources.infosecinstitute.com/wordpress-password-hashes/ 编辑:关于Wordpress密码哈希的很好的文章: http : //resources.infosecinstitute.com/wordpress-password-hashes/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM