Commit Graph

9 Commits

Author SHA1 Message Date
Mike Salvatore e7d694380d Agent: Skip propagation if max depth is reached
Fixes #1374

When monkey starts, it launches a thread for executing post breach
actions. It then executes its propagation loop on the main thread. If
the maximum propagation depth has been reached, a
PlannedShutdownException is raised on the main thread. This results in
InfectionMonkey.cleanup() being called, which then calls
InfectionMonkey.self_delete(). self_delete() deletes the monkey binary,
but the post breach actions thread hasn't been stopped, resulting in
a trace when the thread attempts an import.

We don't need to shutdown if the maximum propagation depth is reached.
We only need to skip the propagation phase so that monkey does not
propagate further. PBAs and payloads can still be allowed to run.
2021-07-30 05:44:34 -04:00
Mike Salvatore e0a40626be Swimm: update exercise Add a new configuration setting to the Agent ⚙ (id: AzD8XysWg1BBXCjCDkfq). 2021-04-11 19:37:40 -04:00
Shreya 0fa7c41cf3 Modify Swimm unit: Add a new configuration setting to the Agent
Fixed a link
2021-04-08 16:45:46 +05:30
Mike Salvatore 2881b11be3 Swimm: update exercise Add a new configuration setting to the Agent ⚙ (id: AzD8XysWg1BBXCjCDkfq). 2021-04-07 06:47:32 -04:00
Swimm 6806e715f7 Swimm: update unit Add a new configuration setting to the Agent ⚙ (id: AzD8XysWg1BBXCjCDkfq). 2021-01-28 19:24:17 +02:00
Swimm b6dec2b323 Swimm: updated unit (AzD8XysWg1BBXCjCDkfq) 2020-09-03 15:30:38 +03:00
Swimm 33380256a9 Swimm: saved Unit 'Add a new configuration to the Agent ⚙' (AzD8XysWg1BBXCjCDkfq) 2020-09-02 19:15:06 +03:00
Swimm 36cf5f40c8 Swimm: saved Unit 'Add a new configuration value and use it in the Monkey Agent ⚙' (AzD8XysWg1BBXCjCDkfq) 2020-09-02 19:14:50 +03:00
Swimm 90e2494725 Swimm: saved Unit 'Make something configurable ⚙' (AzD8XysWg1BBXCjCDkfq) 2020-08-05 11:01:22 +03:00