From 396b71ef3b7481c22474fc5f6d821950a5c63268 Mon Sep 17 00:00:00 2001 From: Sebdraven Date: Fri, 22 Jun 2018 16:06:34 +0200 Subject: [PATCH] add domain to expand --- misp_modules/modules/expansion/onyphe_full.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misp_modules/modules/expansion/onyphe_full.py b/misp_modules/modules/expansion/onyphe_full.py index 8a33e3c..bde4d4a 100644 --- a/misp_modules/modules/expansion/onyphe_full.py +++ b/misp_modules/modules/expansion/onyphe_full.py @@ -44,8 +44,10 @@ def handler(q=False): return handle_ip(api,ip,misperrors) elif request.get('domain'): domain = request['domain'] + return handle_domain(api, domain, misperrors) elif request.get('hostname'): hostname = request['hostname'] + return handle_domain(api, hostname, misperrors) else: misperrors['error'] = "Unsupported attributes type" return misperrors