From b2eef282913c90b588099e28eb07a073c4aa66ed Mon Sep 17 00:00:00 2001 From: itay Date: Tue, 11 Jun 2019 16:13:26 +0300 Subject: [PATCH] Fix VictimHost's getData --- monkey/infection_monkey/telemetry/attack/victim_host_telem.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/monkey/infection_monkey/telemetry/attack/victim_host_telem.py b/monkey/infection_monkey/telemetry/attack/victim_host_telem.py index 211ab7eb1..3fbbeb3a1 100644 --- a/monkey/infection_monkey/telemetry/attack/victim_host_telem.py +++ b/monkey/infection_monkey/telemetry/attack/victim_host_telem.py @@ -16,6 +16,8 @@ class VictimHostTelem(AttackTelem): self.machine = {'domain_name': machine.domain_name, 'ip_addr': machine.ip_addr} def get_data(self): - return super(VictimHostTelem, self).get_data().update({ + data = super(VictimHostTelem, self).get_data() + data.update({ 'machine': self.machine }) + return data