Fix eupi module

pull/13/head
Raphaël Vinot 2016-04-28 16:31:55 +02:00
parent ba1b7ffb80
commit 5014e0fb6c
1 changed files with 3 additions and 3 deletions

View File

@ -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():