Merge pull request #363 from guardicore/bugfix/exploit-host-retval

exploit_host returns '_exploit_host''s return value
This commit is contained in:
Itay Mizeretz 2019-06-23 14:49:45 +03:00 committed by GitHub
commit 3161b39f5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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