fixed exchange recon.
This commit is contained in:
parent
d98cdf9523
commit
45ec066343
|
@ -213,7 +213,7 @@ class NtlmParser:
|
||||||
|
|
||||||
if len(self.raw) >= 2 and self.raw[1] == 0:
|
if len(self.raw) >= 2 and self.raw[1] == 0:
|
||||||
try:
|
try:
|
||||||
self.string = self.raw.decode('utf-16')
|
self.string = self.raw.decode('utf-16', 'ignore')
|
||||||
except:
|
except:
|
||||||
self.string = ''.join(filter(lambda x: str(x) != str('\0'), self.raw))
|
self.string = ''.join(filter(lambda x: str(x) != str('\0'), self.raw))
|
||||||
self.utf16 = True
|
self.utf16 = True
|
||||||
|
|
Loading…
Reference in New Issue