From 984a8c22511b4b471adbb297fbbc5d47f41433d8 Mon Sep 17 00:00:00 2001 From: Shreya Date: Thu, 20 Aug 2020 20:00:18 +0530 Subject: [PATCH] Small fix - deletes exe file now --- .../post_breach/signed_script_proxy/signed_script_proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/post_breach/signed_script_proxy/signed_script_proxy.py b/monkey/infection_monkey/post_breach/signed_script_proxy/signed_script_proxy.py index 4eb55117b..f39343577 100644 --- a/monkey/infection_monkey/post_breach/signed_script_proxy/signed_script_proxy.py +++ b/monkey/infection_monkey/post_breach/signed_script_proxy/signed_script_proxy.py @@ -15,4 +15,4 @@ def get_commands_to_proxy_execution_using_signed_script(): def cleanup_changes(original_comspec): if is_windows_os(): subprocess.run(get_windows_commands_to_reset_comspec(original_comspec), shell=True) # noqa: DUO116 - subprocess.run(get_windows_commands_to_delete_temp_comspec, shell=True) # noqa: DUO116 + subprocess.run(get_windows_commands_to_delete_temp_comspec(), shell=True) # noqa: DUO116