Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit eec9dfe

Browse files
author
mpgn
committed
2 parents 8c77eac + a8df4c2 commit eec9dfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cme/connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def login(self):
215215
if self.hash_login(self.domain, usr.strip(), f_hash.strip()): return True
216216
else: # ntlm_hash is a string
217217
if not self.over_fail_limit(usr.strip()):
218-
if self.hash_login(self.domain, usr.strip(), ntlm_hash_file): return True
218+
if self.hash_login(self.domain, usr.strip(), ntlm_hash.strip()): return True
219219

220220
elif self.args.password:
221221
with sem:
@@ -255,7 +255,7 @@ def login(self):
255255
if self.hash_login(self.domain, user, f_hash.strip()): return True
256256
else: # ntlm_hash is a string
257257
if not self.over_fail_limit(user):
258-
if self.hash_login(self.domain, user, ntlm_hash): return True
258+
if self.hash_login(self.domain, user, ntlm_hash.strip()): return True
259259

260260
elif self.args.password:
261261
with sem:

0 commit comments

Comments
 (0)