Browse Source

Dump host info as text

Rafiot-patch-1
Raphaël Vinot 5 years ago
committed by GitHub
parent
commit
a0cce11964
  1. 2
      misp_modules/modules/expansion/shodan.py

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