mirror of https://github.com/MISP/misp-modules
parent
cd2ec0b728
commit
ef781f59f8
|
@ -49,7 +49,7 @@ def handler(q=False):
|
||||||
r['results'] += lookup_indicator(client, request['hostname'])
|
r['results'] += lookup_indicator(client, request['hostname'])
|
||||||
if 'url' in request:
|
if 'url' in request:
|
||||||
r['results'] += lookup_indicator(client, request['url'])
|
r['results'] += lookup_indicator(client, request['url'])
|
||||||
f 'hash' in request:
|
if 'hash' in request:
|
||||||
r['results'] += lookup_indicator(client, request['hash'])
|
r['results'] += lookup_indicator(client, request['hash'])
|
||||||
|
|
||||||
# Return any errors generated from lookup to the UI and remove duplicates
|
# Return any errors generated from lookup to the UI and remove duplicates
|
||||||
|
|
Loading…
Reference in New Issue