mirror of https://github.com/MISP/misp-modules
add whois expand to test
parent
5a422c2e5b
commit
3eda712193
|
@ -124,16 +124,16 @@ def handle_domain(api, domain, misperrors):
|
|||
# 'error'] + ' Error in expand History DNS'
|
||||
# return misperrors
|
||||
|
||||
r, status_ok = expand_history_whois(api, domain)
|
||||
|
||||
if status_ok:
|
||||
if r:
|
||||
|
||||
result_filtered['results'].extend(r)
|
||||
else:
|
||||
misperrors['error'] = misperrors['error'] + \
|
||||
' Error in expand History Whois'
|
||||
return misperrors
|
||||
# r, status_ok = expand_history_whois(api, domain)
|
||||
#
|
||||
# if status_ok:
|
||||
# if r:
|
||||
#
|
||||
# result_filtered['results'].extend(r)
|
||||
# else:
|
||||
# misperrors['error'] = misperrors['error'] + \
|
||||
# ' Error in expand History Whois'
|
||||
# return misperrors
|
||||
|
||||
return result_filtered
|
||||
|
||||
|
|
Loading…
Reference in New Issue