Remove unused `set_vulnerable_port_from_url()` from `infection_monkey/exploit/web_rce.py`

This commit is contained in:
Shreya 2021-05-06 16:33:37 +05:30
parent 1cd746ce76
commit 5f8547a7ee
1 changed files with 0 additions and 3 deletions

View File

@ -578,9 +578,6 @@ class WebRCE(HostExploiter):
LOG.debug("Target's machine type was not set. Using win-32 dropper path.") LOG.debug("Target's machine type was not set. Using win-32 dropper path.")
return self._config.dropper_target_path_win_32 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): def get_target_url(self):
""" """
This method allows "configuring" the way in which a vulnerable URL is picked. This method allows "configuring" the way in which a vulnerable URL is picked.