forked from p15670423/monkey
minor fix in dropper
This commit is contained in:
parent
332a11b272
commit
9f93fb8310
|
@ -8,7 +8,7 @@ import logging
|
||||||
import subprocess
|
import subprocess
|
||||||
import argparse
|
import argparse
|
||||||
from ctypes import c_char_p
|
from ctypes import c_char_p
|
||||||
from model import MONKEY_CMDLINE
|
from model import MONKEY_CMDLINE, MONKEY_CMDLINE_LINUX
|
||||||
from config import WormConfiguration
|
from config import WormConfiguration
|
||||||
from system_info import SystemInfoCollector, OperatingSystem
|
from system_info import SystemInfoCollector, OperatingSystem
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ class MonkeyDrops(object):
|
||||||
if OperatingSystem.Windows == SystemInfoCollector.get_os():
|
if OperatingSystem.Windows == SystemInfoCollector.get_os():
|
||||||
monkey_cmdline = MONKEY_CMDLINE % {'monkey_path': self._config['destination_path']}
|
monkey_cmdline = MONKEY_CMDLINE % {'monkey_path': self._config['destination_path']}
|
||||||
else:
|
else:
|
||||||
monkey_cmdline = MONKEY_CMDLINE % {'monkey_path': self._config['destination_path']}
|
monkey_cmdline = MONKEY_CMDLINE_LINUX % {'monkey_path': self._config['destination_path']}
|
||||||
|
|
||||||
|
|
||||||
if self.opts.parent:
|
if self.opts.parent:
|
||||||
|
|
Loading…
Reference in New Issue