forked from p15670423/monkey
Remove unused `set_vulnerable_port_from_url()` from `infection_monkey/exploit/web_rce.py`
This commit is contained in:
parent
1cd746ce76
commit
5f8547a7ee
|
@ -578,9 +578,6 @@ class WebRCE(HostExploiter):
|
|||
LOG.debug("Target's machine type was not set. Using win-32 dropper path.")
|
||||
return self._config.dropper_target_path_win_32
|
||||
|
||||
def set_vulnerable_port_from_url(self, url):
|
||||
self.vulnerable_port = HTTPTools.get_port_from_url(url)
|
||||
|
||||
def get_target_url(self):
|
||||
"""
|
||||
This method allows "configuring" the way in which a vulnerable URL is picked.
|
||||
|
|
Loading…
Reference in New Issue