mirror of https://github.com/MISP/misp-modules
add logs
parent
34da5cdb76
commit
2a8fb76e84
|
@ -236,6 +236,9 @@ def expand_whois(api, domain):
|
|||
}
|
||||
|
||||
)
|
||||
# TODO File "modules/expansion/dnstrails.py", line 230, in expand_whois
|
||||
# 'values': [item_registrant['email'],
|
||||
# TypeError: 'NoneType' object is not subscriptable
|
||||
|
||||
except APIError as e:
|
||||
misperrors['error'] = e
|
||||
|
@ -254,5 +257,6 @@ def version():
|
|||
def __select_registrant_item(entry):
|
||||
if 'contacts' in entry:
|
||||
for c in entry['contacts']:
|
||||
print(c)
|
||||
if c['type'] == 'registrant':
|
||||
return entry
|
||||
|
|
Loading…
Reference in New Issue