You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to refactor HostExploiter abstract class to support hooked functions before and after exploiter execution. One approach would be to rename the method exploit_host to _exploit_host (also on all HostExploiter subclasses), and create a new function exploit_host which will call all the hooked methods and the main method, for e.g. set_start_time, _exploit_host and set_finish_time. In the future, if we'll want to add more logic to before and after exploit, we'll be able to do so easily by overriding _exploit_host.
The text was updated successfully, but these errors were encountered:
We need to refactor
HostExploiter
abstract class to support hooked functions before and after exploiter execution. One approach would be to rename the methodexploit_host
to_exploit_host
(also on all HostExploiter subclasses), and create a new functionexploit_host
which will call all the hooked methods and the main method, for e.g.set_start_time
,_exploit_host
andset_finish_time
. In the future, if we'll want to add more logic to before and after exploit, we'll be able to do so easily by overriding_exploit_host
.The text was updated successfully, but these errors were encountered: