Minor bugfixes

mdns
bneg 2017-04-22 14:29:23 -07:00
parent 4325b27eb3
commit da01ad2cc1
1 changed files with 1 additions and 1 deletions

2
empire
View File

@ -1090,7 +1090,7 @@ def start_restful_api(startEmpire=False, suppress=False, username=None, password
for reportingEvent in reportingRaw: for reportingEvent in reportingRaw:
[ID, name, event_type, message, time_stamp, taskID] = reportingEvent [ID, name, event_type, message, time_stamp, taskID] = reportingEvent
reportingEvents.append({"ID":ID, "agentname":name, "event_type":event_type, "message":message, "timestamp":timestamp, "taskID":taskID}) reportingEvents.append({"ID":ID, "agentname":name, "event_type":event_type, "message":message, "timestamp":time_stamp, "taskID":taskID})
return jsonify({'reporting' : reportingEvents}) return jsonify({'reporting' : reportingEvents})