From 0ab38feade0e2ead2628c19b12a7ba42709b5141 Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Mon, 3 Sep 2018 13:17:48 +0200 Subject: [PATCH] fix: Cleaned up test function not used anymore --- misp_modules/modules/expansion/virustotal.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/misp_modules/modules/expansion/virustotal.py b/misp_modules/modules/expansion/virustotal.py index 4ebbd43b..cd4efcdc 100644 --- a/misp_modules/modules/expansion/virustotal.py +++ b/misp_modules/modules/expansion/virustotal.py @@ -154,11 +154,6 @@ def handler(q=False): return misperrors return {'results': r} -def get_ip(ip, key): - params = {'ip': ip, 'apikey': key} - req = requests.get('https://www.virustotal.com/vtapi/v2/ip-address/report', params=params) - return json.dumps(req.json(), indent=2) - def introspection(): return mispattributes