[wp-hackers] Password Generation

Dion Hulse (dd32) wordpress at dd32.id.au
Thu Oct 6 09:25:25 UTC 2011


I gather you're doing a direct SQL conversion and not through PHP/including
WordPress?
WordPress uses "PHPAss" hashes, you can find the function responsible here:
wp_hash_password():
http://core.trac.wordpress.org/browser/trunk/wp-includes/pluggable.php#L1402

On 6 October 2011 20:14, Scott Wilcox <scottw at lesniakswann.com> wrote:

> Hello,
>
> I've written a script to process a complex import of users from one system
> into wordpress. The only part I'm having issue with is generating each users
> password, as from the database they don't' appear to be straight MD5 hashes
> of passwords.
>
> Can anyone shed any light on the correct way to generate passwords?
>
> Are they concatenated salt and hashes?
>
> --
> Scott Wilcox
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list