From 91fce45f823755d4bc051b194d3cd6a2ca037945 Mon Sep 17 00:00:00 2001 From: Usama015 Date: Tue, 13 Jun 2023 12:45:10 +0500 Subject: [PATCH] updated --- misp_modules/modules/expansion/whoisfreaks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misp_modules/modules/expansion/whoisfreaks.py b/misp_modules/modules/expansion/whoisfreaks.py index a4494984..c5d53e35 100644 --- a/misp_modules/modules/expansion/whoisfreaks.py +++ b/misp_modules/modules/expansion/whoisfreaks.py @@ -27,7 +27,7 @@ def handler(q=False): request = json.loads(q) if 'config' not in request or (not (request['config'].get('apikey') or ('apiKey' in request['config']))): - misperrors['error'] = 'WhoisFreaks authentication is missing' + misperrors['error'] = 'WhoisFreaks authentication is missing' + request return misperrors if not request.get('attribute') or not check_input_attribute(request['attribute']): return {'error': f'{standard_error_message}, which should contain at least a single attribute'}