error loops

pull/197/head
Sebdraven 2018-06-20 14:53:08 +02:00
parent d1e72676f1
commit 7eba7c0386
1 changed files with 4 additions and 4 deletions

View File

@ -118,19 +118,19 @@ def expand_syscan(api, ip, misperror):
if os_target != 'Unknown':
os_list.append(elem['os'])
r.append({'types': ['target-machine'],
r.append({'types': ['target-machine'],
'values': list(set(os_list)),
'categories': ['Targeting data']})
r.append({'types': ['target-location'],
r.append({'types': ['target-location'],
'values': list(set(geoloc)),
'categories': ['Targeting data']})
r.append({'types': ['target-org'],
r.append({'types': ['target-org'],
'values': list(set(orgs)),
'categories': ['Targeting data']})
r.append({'types': ['AS'], 'values': list(set(asn_list)),
r.append({'types': ['AS'], 'values': list(set(asn_list)),
'categories': ['Network activity']})
return r, status_ok