Merge pull request #236 from VakarisZ/hadoop_quickfix

Hadoop windows quicfix
This commit is contained in:
VakarisZ 2018-12-19 11:43:52 +02:00 committed by GitHub
commit be17288a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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