From caea1f9a3a64d11730cd0d3ced099de715fe94e5 Mon Sep 17 00:00:00 2001 From: "Remi GASCOU (Podalirius)" <79218792+p0dalirius@users.noreply.github.com> Date: Sun, 2 Jun 2024 19:38:15 +0200 Subject: [PATCH] Fixed F821 undefined name 'err' --- smbclientng/core/SMBSession.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smbclientng/core/SMBSession.py b/smbclientng/core/SMBSession.py index d439195..25a772f 100644 --- a/smbclientng/core/SMBSession.py +++ b/smbclientng/core/SMBSession.py @@ -110,7 +110,7 @@ def init_smb_session(self): aesKey=self.aesKey, kdcHost=self.kdcHost ) - except impacket.smbconnection.SessionError as e: + except impacket.smbconnection.SessionError as err: if self.config.debug: traceback.print_exc() print("[!] Could not login: %s" % err)