mirror of https://github.com/MISP/misp-modules
Convert the base64 to ascii
parent
0ac7d23b25
commit
e1d36a8a7d
|
@ -26,8 +26,9 @@ def handler(q=False):
|
|||
else:
|
||||
misperrors['error'] = "Link is missing"
|
||||
return misperrors
|
||||
enc_data = str(data)
|
||||
enc_data = data.decode('ascii')
|
||||
r = {'results': [{'types': mispattributes['output'], 'values': tocache, 'data': enc_data}]}
|
||||
print (r)
|
||||
return r
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue