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"])