removed debugging code

This commit is contained in:
Vakaris 2018-06-25 19:11:58 +03:00
parent 671452243d
commit 6a37f2b953
1 changed files with 1 additions and 2 deletions

View File

@ -44,8 +44,7 @@ class Struts2Exploiter(HostExploiter):
if port[1]: if port[1]:
current_host = "https://%s:%s" % (self.host.ip_addr, port[0]) current_host = "https://%s:%s" % (self.host.ip_addr, port[0])
else: else:
# TODO remove struts current_host = "http://%s:%s" % (self.host.ip_addr, port[0])
current_host = "http://%s:%s/struts" % (self.host.ip_addr, port[0])
# Get full URL # Get full URL
url = self.get_redirected(current_host) url = self.get_redirected(current_host)
LOG.info("Trying to exploit with struts2") LOG.info("Trying to exploit with struts2")