exploit_host returns '_exploit_host''s return value

This commit is contained in:
itay 2019-06-23 14:45:36 +03:00
parent aab6799ab1
commit 78b8ef4bd3
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()