forked from p15670423/monkey
Merge commit leftovers
This commit is contained in:
parent
293a6639f2
commit
6843606a4f
|
@ -3,6 +3,7 @@ from monkey_island.cc.services.node import NodeService
|
||||||
|
|
||||||
def process_state_telemetry(telemetry_json):
|
def process_state_telemetry(telemetry_json):
|
||||||
monkey = NodeService.get_monkey_by_guid(telemetry_json['monkey_guid'])
|
monkey = NodeService.get_monkey_by_guid(telemetry_json['monkey_guid'])
|
||||||
|
NodeService.add_communication_info(monkey, telemetry_json['command_control_channel'])
|
||||||
if telemetry_json['data']['done']:
|
if telemetry_json['data']['done']:
|
||||||
NodeService.set_monkey_dead(monkey, True)
|
NodeService.set_monkey_dead(monkey, True)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue