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