forked from p15670423/monkey
Merge pull request #236 from VakarisZ/hadoop_quickfix
Hadoop windows quicfix
This commit is contained in:
commit
be17288a4e
|
@ -36,6 +36,9 @@ class HadoopExploiter(WebRCE):
|
||||||
self.add_vulnerable_urls(urls, True)
|
self.add_vulnerable_urls(urls, True)
|
||||||
if not self.vulnerable_urls:
|
if not self.vulnerable_urls:
|
||||||
return False
|
return False
|
||||||
|
# We presume hadoop works only on 64-bit machines
|
||||||
|
if self.host.os['type'] == 'windows':
|
||||||
|
self.host.os['machine'] = '64'
|
||||||
paths = self.get_monkey_paths()
|
paths = self.get_monkey_paths()
|
||||||
if not paths:
|
if not paths:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue