From f57977dd53b91686bb0ac9c49c563411679e5732 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Tue, 8 Mar 2022 15:36:25 -0500 Subject: [PATCH] Agent: Add missing return to WmiExploiter --- monkey/infection_monkey/exploit/wmiexec.py | 1 + 1 file changed, 1 insertion(+) 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