From 45ec06634368fbd82c33a2b936dc042c28b4edde Mon Sep 17 00:00:00 2001 From: "Mariusz B. / mgeeky" Date: Tue, 1 Mar 2022 12:28:50 +0100 Subject: [PATCH] fixed exchange recon. --- networks/exchangeRecon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networks/exchangeRecon.py b/networks/exchangeRecon.py index 4d3cb73..f0e981b 100644 --- a/networks/exchangeRecon.py +++ b/networks/exchangeRecon.py @@ -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