forked from p34709852/monkey
Fix bug with exploited nodes
This commit is contained in:
parent
f72b32bb67
commit
4f6ed95501
|
@ -78,7 +78,7 @@ class ReportService:
|
|||
|
||||
exploited = [
|
||||
{
|
||||
'label': NodeService.get_node_hostname(monkey),
|
||||
'label': NodeService.get_node_hostname(NodeService.get_node_or_monkey_by_id(monkey['id'])),
|
||||
'ip_addresses': monkey['ip_addresses'],
|
||||
'exploits': [exploit['exploiter'] for exploit in monkey['exploits'] if exploit['result']]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue