diff --git a/client/tp_assist_win/ts_http_rpc.cpp b/client/tp_assist_win/ts_http_rpc.cpp index d7f149b..a460a3e 100644 --- a/client/tp_assist_win/ts_http_rpc.cpp +++ b/client/tp_assist_win/ts_http_rpc.cpp @@ -849,6 +849,8 @@ void TsHttpRpc::_rpc_func_rdp_play(const ex_astr& func_args, ex_astr& buf) ex_wstr2astr(w_exe_path, utf8_path, EX_CODEPAGE_UTF8); root_ret["cmdline"] = utf8_path; + EXLOGD(w_exe_path.c_str()); + STARTUPINFO si; PROCESS_INFORMATION pi; diff --git a/server/www/teleport/static/js/audit/record-list.js b/server/www/teleport/static/js/audit/record-list.js index 79e1381..c57e504 100644 --- a/server/www/teleport/static/js/audit/record-list.js +++ b/server/www/teleport/static/js/audit/record-list.js @@ -162,8 +162,8 @@ $app.on_table_host_cell_created = function (tbl, row_id, col_key, cell_obj) { if (action === 'replay') { if (row_data.protocol_type === TP_PROTOCOL_TYPE_RDP) { - // $app.do_replay_rdp(row_data.id, row_data.user_username, row_data.acc_username, row_data.host_ip, row_data.time_begin); - window.open('/audit/replay/' + row_data.protocol_type + '/' + row_data.id); + $app.do_replay_rdp(row_data.id, row_data.user_username, row_data.acc_username, row_data.host_ip, row_data.time_begin); + // window.open('/audit/replay/' + row_data.protocol_type + '/' + row_data.id); } else if (row_data.protocol_type === TP_PROTOCOL_TYPE_SSH) { window.open('/audit/replay/' + row_data.protocol_type + '/' + row_data.id); }