forked from p15670423/monkey
Agent: Remove code that set host architecture in Hadoop exploiter
This commit is contained in:
parent
79ccabceb1
commit
90646a6ff9
|
@ -42,9 +42,6 @@ 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