diff --git a/monkey/infection_monkey/exploit/__init__.py b/monkey/infection_monkey/exploit/__init__.py index 126b3f579..6aa77733c 100644 --- a/monkey/infection_monkey/exploit/__init__.py +++ b/monkey/infection_monkey/exploit/__init__.py @@ -50,8 +50,9 @@ class HostExploiter(object): def exploit_host(self): self.pre_exploit() - self._exploit_host() + result = self._exploit_host() self.post_exploit() + return result def pre_exploit(self): self.set_start_time()