mirror of https://github.com/MISP/misp-modules
change categories
parent
1d100833a4
commit
b677cd5fc7
|
@ -229,15 +229,14 @@ def expand_whois(api, domain):
|
||||||
item_registrant['telephone'],
|
item_registrant['telephone'],
|
||||||
item_registrant['name'], results['registrarName'],
|
item_registrant['name'], results['registrarName'],
|
||||||
results['createdDate']]
|
results['createdDate']]
|
||||||
for t, v in zip(types, values):
|
|
||||||
r.append({
|
r = [{
|
||||||
'types': t,
|
'types': t,
|
||||||
'values': v,
|
'values': v,
|
||||||
'categories': ['attribution'],
|
'categories': ['Attribution'],
|
||||||
'comment': 'whois information of %s by securitytrails' % domain
|
'comment': 'whois information of %s by securitytrails' % domain
|
||||||
}
|
} for t, v in zip(types, values)]
|
||||||
|
|
||||||
)
|
|
||||||
# TODO File "modules/expansion/dnstrails.py", line 230, in expand_whois
|
# TODO File "modules/expansion/dnstrails.py", line 230, in expand_whois
|
||||||
# 'values': [item_registrant['email'],
|
# 'values': [item_registrant['email'],
|
||||||
# TypeError: 'NoneType' object is not subscriptable
|
# TypeError: 'NoneType' object is not subscriptable
|
||||||
|
|
Loading…
Reference in New Issue