Removed redundant code in VictimHostTelem

This commit is contained in:
VakarisZ 2019-04-02 14:54:20 +03:00
parent 77b14177c5
commit 4ee8b650c8
1 changed files with 1 additions and 4 deletions

View File

@ -15,7 +15,4 @@ class VictimHostTelem(AttackTelem):
""" """
super(VictimHostTelem, self).__init__(technique, status, data) super(VictimHostTelem, self).__init__(technique, status, data)
victim_host = {'hostname': machine.domain_name, 'ip': machine.ip_addr} victim_host = {'hostname': machine.domain_name, 'ip': machine.ip_addr}
if data: self.data.update({'machine': victim_host})
self.data.update(data)
if machine:
self.data.update({'machine': victim_host})