From aa53479089bcf0991a010df9729106cc50cd5cf9 Mon Sep 17 00:00:00 2001 From: "Remi GASCOU (Podalirius)" <79218792+p0dalirius@users.noreply.github.com> Date: Sun, 2 Jun 2024 21:06:12 +0200 Subject: [PATCH] Fixe dbug in prompt --- smbclientng/core/SMBSession.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/smbclientng/core/SMBSession.py b/smbclientng/core/SMBSession.py index e79190b..6571259 100644 --- a/smbclientng/core/SMBSession.py +++ b/smbclientng/core/SMBSession.py @@ -924,11 +924,9 @@ def set_share(self, shareName): self.list_shares() if shareName.lower() in self.available_shares.keys(): # Doing this in order to keep the case of the share adevertised by the remote machine - self.smb_share = self.available_shares[shareName.lower()] + self.smb_share = self.available_shares[shareName.lower()]["name"] else: print("[!] Could not set share '%s', it does not exist remotely." % shareName) - - def set_cwd(self, path=None): """