mirror of https://github.com/MISP/misp-modules
chg: [cof2misp] debugging removed
parent
10b5295cdd
commit
c6d02cc177
|
@ -187,9 +187,9 @@ def handler(q=False):
|
||||||
# Validate it
|
# Validate it
|
||||||
# transform into MISP object
|
# transform into MISP object
|
||||||
# push to MISP
|
# push to MISP
|
||||||
event_id = request['event_id']
|
# event_id = request['event_id']
|
||||||
# event = misp.get_event(event_id)
|
# event = misp.get_event(event_id)
|
||||||
#print("event_id = %s" % event_id, file=sys.stderr)
|
# print("event_id = %s" % event_id, file=sys.stderr)
|
||||||
try:
|
try:
|
||||||
data = base64.b64decode(request["data"]).decode('utf-8')
|
data = base64.b64decode(request["data"]).decode('utf-8')
|
||||||
if not data:
|
if not data:
|
||||||
|
|
Loading…
Reference in New Issue