Fixed function call that had too many arguments in smbexec.py

This commit is contained in:
VakarisZ 2020-12-04 16:43:53 +02:00
parent 4b1331c281
commit 55f4684e1e
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class SmbExploiter(HostExploiter):
LOG.debug("Exploiter SmbExec is giving up...")
return False
self.set_vulnerable_port(self.host)
self.set_vulnerable_port()
# execute the remote dropper in case the path isn't final
if remote_full_path.lower() != self._config.dropper_target_path_win_32.lower():
cmdline = DROPPER_CMDLINE_DETACHED_WINDOWS % {'dropper_path': remote_full_path} + \