mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 00:04:23 +03:00
Patch for an Issue #1020
This commit is contained in:
parent
25196b4572
commit
9c225557d1
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user