Browse Source

Merge pull request #407 from JakubOnderka/patch-3

fix: [circl_passivessl] Return proper error for IPv6 addresses
pull/411/head
Alexandre Dulaunoy 2 years ago
committed by GitHub
parent
commit
4d7bc25dd0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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