Browse Source

fix: [circl_passivessl] Return proper error for IPv6 addresses

pull/407/head
Jakub Onderka 2 years ago
parent
commit
fe1ea90b25
  1. 4
      misp_modules/modules/expansion/circl_passivessl.py

4
misp_modules/modules/expansion/circl_passivessl.py

@ -44,6 +44,10 @@ class PassiveSSLParser():
self.result = {'error': 'Not found'}
return
if 'error' in results:
self.result = {'error': results['error']}
return
for ip_address, certificates in results.items():
ip_uuid = self._handle_ip_attribute(ip_address)
for certificate in certificates['certificates']:

Loading…
Cancel
Save