forked from p34709852/monkey
More pythonic and clean way to apply function to url_list
This commit is contained in:
parent
84fb96d0de
commit
2295f2c0ab
|
@ -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