forked from p34709852/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)
|
||||
if not self.vulnerable_urls:
|
||||
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()
|
||||
if not paths:
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue