From ca7abbf3cd12751ff9ac36d962fad411094b5995 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Wed, 10 Oct 2018 20:50:28 +0300 Subject: [PATCH] WebRCE _config bugfix --- monkey/infection_monkey/exploit/web_rce.py | 1 - .../monkey_utils/sambacry_monkey_runner/build.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/monkey/infection_monkey/exploit/web_rce.py b/monkey/infection_monkey/exploit/web_rce.py index a8dfd97c5..bb3704995 100644 --- a/monkey/infection_monkey/exploit/web_rce.py +++ b/monkey/infection_monkey/exploit/web_rce.py @@ -28,7 +28,6 @@ class WebRCE(HostExploiter): Dict in format {'linux': '/tmp/monkey.sh', 'win32': './monkey32.exe', 'win64':... } """ super(WebRCE, self).__init__(host) - self._config = __import__('config').WormConfiguration if monkey_target_paths: self.monkey_target_paths = monkey_target_paths else: diff --git a/monkey/infection_monkey/monkey_utils/sambacry_monkey_runner/build.sh b/monkey/infection_monkey/monkey_utils/sambacry_monkey_runner/build.sh index 438793546..aba122d76 100644 --- a/monkey/infection_monkey/monkey_utils/sambacry_monkey_runner/build.sh +++ b/monkey/infection_monkey/monkey_utils/sambacry_monkey_runner/build.sh @@ -6,4 +6,4 @@ strip sc_monkey_runner64.so gcc -c -Wall -Werror -fpic -m32 sc_monkey_runner.c gcc -shared -m32 -o sc_monkey_runner32.so sc_monkey_runner.o rm sc_monkey_runner.o -strip sc_monkey_runner32.so +strip sc_monkey_runner32.so \ No newline at end of file