Fixed bug (from node['domain_name'] to monkey['domain_name']

This commit is contained in:
VakarisZ 2019-01-30 16:54:08 +02:00
parent 5702ee4b2e
commit f89b1c52a9
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ class ReportService:
{
'label': monkey['label'],
'ip_addresses': monkey['ip_addresses'],
'domain_name': node['domain_name'],
'domain_name': monkey['domain_name'],
'exploits': list(set(
[ReportService.EXPLOIT_DISPLAY_DICT[exploit['exploiter']] for exploit in monkey['exploits'] if
exploit['result']]))