Agent: Remove disused WebRCE.target_url attribute

This commit is contained in:
Mike Salvatore 2022-03-30 07:33:53 -04:00
parent 9738430333
commit 315471ab57
1 changed files with 0 additions and 3 deletions

View File

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