mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-28 15:42:25 +00:00
Merge branch 'fix_pwd_ntlm' into 'dev'
fix: #339 See merge request re2o/re2o!615
This commit is contained in:
commit
ea4ebd5c08
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def hashNT(password):
|
|||
|
||||
"""
|
||||
hash_str = hashlib.new("md4", password.encode("utf-16le")).digest()
|
||||
return binascii.hexlify(hash_str).upper()
|
||||
return binascii.hexlify(hash_str).upper().decode('utf-8')
|
||||
|
||||
|
||||
def checkPassword(challenge_password, password):
|
||||
|
|
Loading…
Reference in a new issue