forked from p15670423/monkey
removed debugging code
This commit is contained in:
parent
671452243d
commit
6a37f2b953
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue