From e581551424e382466bb00e207986f0222dc0f119 Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 1 May 2017 23:37:21 -0400 Subject: [PATCH] More Rest API fixes --- empire | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/empire b/empire index 29f9417..40ead78 100755 --- a/empire +++ b/empire @@ -892,8 +892,7 @@ def start_restful_api(startEmpire=False, suppress=False, username=None, password (agentName, agentSessionID) = agentNameID - results = [] - main.agents.update_agent_results_db(agentSessionID, results) + execute_db_query(conn, 'UPDATE agents SET results=? WHERE session_id=?', ['', agentSessionID]) return jsonify({'success': True})