Fixed a bug, where monkey config did not get set to "on_island" immediatelly, so any further monkey code could not rely on this value
This commit is contained in:
parent
d618428ff8
commit
2356ea50f4
|
@ -126,6 +126,7 @@ class InfectionMonkey(object):
|
|||
self.shutdown_by_not_alive_config()
|
||||
|
||||
if self.is_started_on_island():
|
||||
WormConfiguration.started_on_island = True
|
||||
ControlClient.report_start_on_island()
|
||||
ControlClient.should_monkey_run(self._opts.vulnerable_port)
|
||||
|
||||
|
|
Loading…
Reference in New Issue