forked from p15670423/monkey
Fix edge case when returning invalid input in EG exploiter
This commit is contained in:
parent
7f89cc753d
commit
2365f4db42
|
@ -204,7 +204,7 @@ class ElasticGroovyExploiter(HostExploiter):
|
|||
"""
|
||||
result = self.attack_query(payload)
|
||||
if not result: # not vulnerable
|
||||
return False
|
||||
return ""
|
||||
return result[0]
|
||||
|
||||
def attack_query(self, payload):
|
||||
|
|
Loading…
Reference in New Issue