mirror of https://github.com/MISP/misp-modules
error loops
parent
d1e72676f1
commit
7eba7c0386
|
@ -118,19 +118,19 @@ def expand_syscan(api, ip, misperror):
|
||||||
if os_target != 'Unknown':
|
if os_target != 'Unknown':
|
||||||
os_list.append(elem['os'])
|
os_list.append(elem['os'])
|
||||||
|
|
||||||
r.append({'types': ['target-machine'],
|
r.append({'types': ['target-machine'],
|
||||||
'values': list(set(os_list)),
|
'values': list(set(os_list)),
|
||||||
'categories': ['Targeting data']})
|
'categories': ['Targeting data']})
|
||||||
|
|
||||||
r.append({'types': ['target-location'],
|
r.append({'types': ['target-location'],
|
||||||
'values': list(set(geoloc)),
|
'values': list(set(geoloc)),
|
||||||
'categories': ['Targeting data']})
|
'categories': ['Targeting data']})
|
||||||
|
|
||||||
r.append({'types': ['target-org'],
|
r.append({'types': ['target-org'],
|
||||||
'values': list(set(orgs)),
|
'values': list(set(orgs)),
|
||||||
'categories': ['Targeting data']})
|
'categories': ['Targeting data']})
|
||||||
|
|
||||||
r.append({'types': ['AS'], 'values': list(set(asn_list)),
|
r.append({'types': ['AS'], 'values': list(set(asn_list)),
|
||||||
'categories': ['Network activity']})
|
'categories': ['Network activity']})
|
||||||
|
|
||||||
return r, status_ok
|
return r, status_ok
|
||||||
|
|
Loading…
Reference in New Issue