forked from p15670423/monkey
Agent: Remove disused WebRCE.target_url attribute
This commit is contained in:
parent
9738430333
commit
315471ab57
|
@ -39,7 +39,6 @@ class WebRCE(HostExploiter):
|
||||||
super(WebRCE, self).__init__()
|
super(WebRCE, self).__init__()
|
||||||
self.monkey_target_paths = monkey_target_paths
|
self.monkey_target_paths = monkey_target_paths
|
||||||
self.vulnerable_urls = []
|
self.vulnerable_urls = []
|
||||||
self.target_url = None
|
|
||||||
|
|
||||||
def get_exploit_config(self):
|
def get_exploit_config(self):
|
||||||
"""
|
"""
|
||||||
|
@ -89,8 +88,6 @@ class WebRCE(HostExploiter):
|
||||||
if not self.are_vulnerable_urls_sufficient():
|
if not self.are_vulnerable_urls_sufficient():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
self.target_url = self.get_target_url()
|
|
||||||
|
|
||||||
# Upload the right monkey to target
|
# Upload the right monkey to target
|
||||||
data = self.upload_monkey(self.get_target_url(), exploit_config["upload_commands"])
|
data = self.upload_monkey(self.get_target_url(), exploit_config["upload_commands"])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue