Skip to content

Commit

Permalink
Fix test sessionBaseKey
Browse files Browse the repository at this point in the history
  • Loading branch information
NeffIsBack committed Nov 3, 2024
1 parent ed69c9d commit 3e297ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/SMB_RPC/test_ntlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def test_ntlmv2(self):
ntResponse, lmResponse, sessionBaseKey = ntlm.computeResponseNTLMv2(flags, self.serverChallenge,
self.clientChallenge, serverName, self.domain, self.user, self.password, '', '' )
hexdump(sessionBaseKey)
self.assertEqual(sessionBaseKey, bytearray(b'\x8d\xe4\x0c\xca\xdb\xc1\x4a\x82\xf1\x5c\xb0\xad\x0d\xe9\x5c\xa3'))
self.assertEqual(sessionBaseKey, bytearray(b'\xe0\x02\x92\x35\xf1\x18\x08\xe6\x12\xea\xa1\xac\xe6\x13\x78\x5f'))
print("\n")

print("4.2.4.2.1 LMv2 Response")
Expand Down

0 comments on commit 3e297ae

Please sign in to comment.