mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-04-28 21:03:45 +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
|
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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user