mirror of https://github.com/MISP/misp-modules
commit
e826eb3d69
|
@ -38,10 +38,10 @@ def handler(q=False):
|
||||||
for r in results['results']:
|
for r in results['results']:
|
||||||
if r['tag_label'] != 'phishing':
|
if r['tag_label'] != 'phishing':
|
||||||
continue
|
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}]}
|
r = {'results': [{'types': mispattributes['output'], 'values': to_return}]}
|
||||||
return r
|
return r
|
||||||
|
|
||||||
|
|
||||||
def introspection():
|
def introspection():
|
||||||
|
|
Loading…
Reference in New Issue