mirror of https://github.com/MISP/misp-modules
add reverse infos
parent
4a8a79c560
commit
d4be9d9fda
|
@ -92,12 +92,14 @@ def handle_ip(api, ip, misperrors):
|
||||||
misperrors['error'] = 'Error forward result'
|
misperrors['error'] = 'Error forward result'
|
||||||
return
|
return
|
||||||
#
|
#
|
||||||
# r, status_ok = expand_reverse(api, ip, misperrors)
|
r, status_ok = expand_reverse(api, ip, misperrors)
|
||||||
#
|
|
||||||
# if status_ok:
|
if status_ok:
|
||||||
# result_filtered['results'].append(r)
|
result_filtered['results'].extend(r)
|
||||||
# else:
|
else:
|
||||||
# return r
|
misperrors['error'] = 'Error reverse result'
|
||||||
|
return misperrors
|
||||||
|
|
||||||
print(result_filtered)
|
print(result_filtered)
|
||||||
return result_filtered
|
return result_filtered
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue