From 5014e0fb6c67eef06f1bc420defe1047bd4eb3f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 28 Apr 2016 16:31:55 +0200 Subject: [PATCH] Fix eupi module --- modules/expansion/eupi.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/expansion/eupi.py b/modules/expansion/eupi.py index 957881f..d38fa8f 100755 --- a/modules/expansion/eupi.py +++ b/modules/expansion/eupi.py @@ -38,10 +38,10 @@ def handler(q=False): for r in results['results']: if r['tag_label'] != 'phishing': continue - to_return += ' {} {} {} '.format(r['url'], r['domain'], r['ip']) + to_return += ' {} {} {} '.format(r['url'], r['domain'], r['ip_address']) - r = {'results': [{'types': mispattributes['output'], 'values': to_return}]} - return r + r = {'results': [{'types': mispattributes['output'], 'values': to_return}]} + return r def introspection():