forked from p34709852/monkey
Agent: Log why exploiter got interrupted when stopped
This commit is contained in:
parent
520e98032a
commit
1c79efc941
|
@ -98,6 +98,8 @@ class HostExploiter:
|
|||
# This method should be refactored to raise an exception to reduce duplication in the
|
||||
# "if is_interrupted: return self.exploitation_results"
|
||||
# Ideally the user should only do "check_for_interrupt()"
|
||||
if self.interrupt.is_set():
|
||||
logger.info("Exploiter has been interrupted by a stop signal from the Island")
|
||||
return self.interrupt.is_set()
|
||||
|
||||
def post_exploit(self):
|
||||
|
|
Loading…
Reference in New Issue