Skip to content

Commit

Permalink
mssqlshell - 'do_upload' command showing unhandled exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielg5 committed Dec 5, 2024
1 parent 20351f2 commit a133fef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions impacket/examples/mssqlshell.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ def do_upload(self, line):
else:
print("[-] ERROR! MD5 hashes do NOT match!")
print("[+] Uploaded file MD5: %s" % md5sum_uploaded)
except:
pass
except Exception as e:
print("[-] Unhandled Exception:", e)

def do_xp_dirtree(self, s):
try:
Expand Down

0 comments on commit a133fef

Please sign in to comment.