From 315471ab575dde8b0611d41cbf001652e891521f Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 30 Mar 2022 07:33:53 -0400 Subject: [PATCH] Agent: Remove disused WebRCE.target_url attribute --- monkey/infection_monkey/exploit/web_rce.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/monkey/infection_monkey/exploit/web_rce.py b/monkey/infection_monkey/exploit/web_rce.py index 9978f46d3..3a546d321 100644 --- a/monkey/infection_monkey/exploit/web_rce.py +++ b/monkey/infection_monkey/exploit/web_rce.py @@ -39,7 +39,6 @@ class WebRCE(HostExploiter): super(WebRCE, self).__init__() self.monkey_target_paths = monkey_target_paths self.vulnerable_urls = [] - self.target_url = None def get_exploit_config(self): """ @@ -89,8 +88,6 @@ class WebRCE(HostExploiter): if not self.are_vulnerable_urls_sufficient(): return False - self.target_url = self.get_target_url() - # Upload the right monkey to target data = self.upload_monkey(self.get_target_url(), exploit_config["upload_commands"])