Browse Source

add logs

pull/208/head
Sebdraven 4 years ago
parent
commit
9de201375b
  1. 4
      misp_modules/modules/expansion/securitytrails.py

4
misp_modules/modules/expansion/securitytrails.py

@ -501,11 +501,13 @@ def version(): @@ -501,11 +501,13 @@ def version():
def __select_registrant_item(entry):
print(entry)
if 'contacts' in entry:
return list(filter(lambda x: x['type'] == 'registrant',
entry['contacts']))
if 'contact' in entry:
print(entry)
print('\r\n')
return list(filter(lambda x: x['type'] == 'registrant',
entry['contact']))

Loading…
Cancel
Save