Skip to content

Commit

Permalink
Fixe dbug in prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
p0dalirius committed Jun 2, 2024
1 parent 4912c97 commit aa53479
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions smbclientng/core/SMBSession.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit aa53479

Please sign in to comment.