From ff6450fc88c879d1e2b580a99ec6ff6b7a8ea62b Mon Sep 17 00:00:00 2001 From: asolino Date: Mon, 1 Apr 2019 11:38:51 -0300 Subject: [PATCH] Return SMB2/3 signing information the same way SMB1 does. Fixes https://github.com/byt3bl33d3r/CrackMapExec/pull/300 --- impacket/smb3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/impacket/smb3.py b/impacket/smb3.py index 82191552..1b992c56 100644 --- a/impacket/smb3.py +++ b/impacket/smb3.py @@ -1624,7 +1624,7 @@ def is_login_required(self): return True def is_signing_required(self): - return self._Session["SigningRequired"] + return self._Connection['RequireSigning'] def nt_create_andx(self, treeId, fileName, smb_packet=None, cmd = None): if len(fileName) > 0 and fileName[0] == '\\':