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})