fixed exchange recon.

This commit is contained in:
Mariusz B. / mgeeky 2022-03-01 12:28:50 +01:00
parent d98cdf9523
commit 45ec066343

View File

@ -213,7 +213,7 @@ class NtlmParser:
if len(self.raw) >= 2 and self.raw[1] == 0:
try:
self.string = self.raw.decode('utf-16')
self.string = self.raw.decode('utf-16', 'ignore')
except:
self.string = ''.join(filter(lambda x: str(x) != str('\0'), self.raw))
self.utf16 = True