forked from p34709852/monkey
exploit_host returns '_exploit_host''s return value
This commit is contained in:
parent
aab6799ab1
commit
78b8ef4bd3
|
@ -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