Merge pull request #53 from MISP/Rafiot-patch-1

Dump host info as text
pull/55/head
Alexandre Dulaunoy 6 years ago committed by GitHub
commit 3b8717f3bf
  1. 2
      misp_modules/modules/expansion/shodan.py

@ -36,7 +36,7 @@ def handler(q=False):
def handle_expansion(api, domain):
return {'results': [{'types': mispattributes['output'], 'values': api.host(domain)}]}
return {'results': [{'types': mispattributes['output'], 'values': json.dumps(api.host(domain))}]}
def introspection():

Loading…
Cancel
Save