forked from p15670423/monkey
Agent: Skip ransomware payload if monkey has been killed
This commit is contained in:
parent
57d97d0083
commit
33aa8d1c67
|
@ -156,7 +156,8 @@ class InfectionMonkey(object):
|
||||||
LOG.info("Maximum propagation depth has been reached; monkey will not propagate.")
|
LOG.info("Maximum propagation depth has been reached; monkey will not propagate.")
|
||||||
TraceTelem(MAX_DEPTH_REACHED_MESSAGE).send()
|
TraceTelem(MAX_DEPTH_REACHED_MESSAGE).send()
|
||||||
|
|
||||||
InfectionMonkey.run_ransomware()
|
if self._keep_running and WormConfiguration.alive:
|
||||||
|
InfectionMonkey.run_ransomware()
|
||||||
|
|
||||||
# if host was exploited, before continue to closing the tunnel ensure the exploited
|
# if host was exploited, before continue to closing the tunnel ensure the exploited
|
||||||
# host had its chance to
|
# host had its chance to
|
||||||
|
|
Loading…
Reference in New Issue