mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Fixes #1439
This commit is contained in:
@@ -327,8 +327,10 @@ def wordpress_passwd(password, salt, count, prefix, uppercase=False):
|
|||||||
|
|
||||||
return output
|
return output
|
||||||
|
|
||||||
|
password = password.encode(UNICODE_ENCODING)
|
||||||
|
|
||||||
cipher = md5(salt)
|
cipher = md5(salt)
|
||||||
cipher.update(password.encode(UNICODE_ENCODING))
|
cipher.update(password)
|
||||||
hash_ = cipher.digest()
|
hash_ = cipher.digest()
|
||||||
|
|
||||||
for i in xrange(count):
|
for i in xrange(count):
|
||||||
|
|||||||
Reference in New Issue
Block a user