forked from p15670423/monkey
Merge pull request #363 from guardicore/bugfix/exploit-host-retval
exploit_host returns '_exploit_host''s return value
This commit is contained in:
commit
3161b39f5e
|
@ -50,8 +50,9 @@ class HostExploiter(object):
|
|||
|
||||
def exploit_host(self):
|
||||
self.pre_exploit()
|
||||
self._exploit_host()
|
||||
result = self._exploit_host()
|
||||
self.post_exploit()
|
||||
return result
|
||||
|
||||
def pre_exploit(self):
|
||||
self.set_start_time()
|
||||
|
|
Loading…
Reference in New Issue