forked from p15670423/monkey
Stupid, stupid casting bug.
This commit is contained in:
parent
2d83657bd9
commit
b910baf1d0
|
@ -53,6 +53,9 @@ class ElasticGroovyExploiter(HostExploiter):
|
|||
LOG.info("Host: %s doesn't have ES open" % host.ip_addr)
|
||||
return False
|
||||
major, minor, build = host.services[ES_SERVICE]['version'].split('.')
|
||||
major = int(major)
|
||||
minor = int(minor)
|
||||
build = int(build)
|
||||
if major > 1:
|
||||
return False
|
||||
if major == 1 and minor > 4:
|
||||
|
|
Loading…
Reference in New Issue