forked from p15670423/monkey
More pythonic and clean way to apply function to url_list
This commit is contained in:
parent
ef4eadf64a
commit
1c5c010028
|
@ -39,7 +39,7 @@ class Struts2Exploiter(WebRCE):
|
|||
:return: Array of url's to try and attack
|
||||
"""
|
||||
url_list = super(Struts2Exploiter, self).build_potential_urls(ports)
|
||||
url_list = list(map(self.get_redirected, url_list))
|
||||
url_list = [self.get_redirected(url) for url in url_list]
|
||||
return url_list
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in New Issue