Merge pull request #254 from VakarisZ/domain_names_hotfix

Fixed bug (from node['domain_name'] to monkey['domain_name']
This commit is contained in:
VakarisZ 2019-01-30 16:57:14 +02:00 committed by GitHub
commit 0a94cea5af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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