diff --git a/monkey/infection_monkey/exploit/wmiexec.py b/monkey/infection_monkey/exploit/wmiexec.py index e98cfa62f..ee92d29ed 100644 --- a/monkey/infection_monkey/exploit/wmiexec.py +++ b/monkey/infection_monkey/exploit/wmiexec.py @@ -133,6 +133,7 @@ class WmiExploiter(HostExploiter): result.RemRelease() wmi_connection.close() self.add_executed_cmd(cmdline) + return self.exploit_result return self.exploit_result