mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Fixes #1439
This commit is contained in:
parent
906cb6d3c2
commit
5ce4d4d2ec
|
@ -327,8 +327,10 @@ def wordpress_passwd(password, salt, count, prefix, uppercase=False):
|
|||
|
||||
return output
|
||||
|
||||
password = password.encode(UNICODE_ENCODING)
|
||||
|
||||
cipher = md5(salt)
|
||||
cipher.update(password.encode(UNICODE_ENCODING))
|
||||
cipher.update(password)
|
||||
hash_ = cipher.digest()
|
||||
|
||||
for i in xrange(count):
|
||||
|
|
Loading…
Reference in New Issue
Block a user