diff --git a/misp_modules/modules/expansion/recordedfuture.py b/misp_modules/modules/expansion/recordedfuture.py index 537e997..ccea31b 100644 --- a/misp_modules/modules/expansion/recordedfuture.py +++ b/misp_modules/modules/expansion/recordedfuture.py @@ -62,7 +62,7 @@ class RequestHandler: response.raise_for_status() return response except (ConnectTimeout, ProxyError, InvalidURL) as error: - msg = f'Error connecting with proxy, please check the Recorded Future app proxy settings.' + msg = 'Error connecting with proxy, please check the Recorded Future app proxy settings.' LOGGER.error(f'{msg} Error: {error}') misperrors['error'] = msg raise diff --git a/misp_modules/modules/expansion/shodan.py b/misp_modules/modules/expansion/shodan.py index ecd5b82..f295deb 100755 --- a/misp_modules/modules/expansion/shodan.py +++ b/misp_modules/modules/expansion/shodan.py @@ -209,6 +209,7 @@ class ShodanParser(): x509_object.add_reference(self.attribute.uuid, 'identifies') self.misp_event.add_object(x509_object) + def handler(q=False): if q is False: return False