mirror of https://github.com/tp4a/teleport
pull/105/head
parent
299f849185
commit
2411b95e1f
|
@ -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);
|
ex_wstr2astr(w_exe_path, utf8_path, EX_CODEPAGE_UTF8);
|
||||||
root_ret["cmdline"] = utf8_path;
|
root_ret["cmdline"] = utf8_path;
|
||||||
|
|
||||||
|
EXLOGD(w_exe_path.c_str());
|
||||||
|
|
||||||
STARTUPINFO si;
|
STARTUPINFO si;
|
||||||
PROCESS_INFORMATION pi;
|
PROCESS_INFORMATION pi;
|
||||||
|
|
||||||
|
|
|
@ -162,8 +162,8 @@ $app.on_table_host_cell_created = function (tbl, row_id, col_key, cell_obj) {
|
||||||
|
|
||||||
if (action === 'replay') {
|
if (action === 'replay') {
|
||||||
if (row_data.protocol_type === TP_PROTOCOL_TYPE_RDP) {
|
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);
|
$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);
|
// window.open('/audit/replay/' + row_data.protocol_type + '/' + row_data.id);
|
||||||
} else if (row_data.protocol_type === TP_PROTOCOL_TYPE_SSH) {
|
} else if (row_data.protocol_type === TP_PROTOCOL_TYPE_SSH) {
|
||||||
window.open('/audit/replay/' + row_data.protocol_type + '/' + row_data.id);
|
window.open('/audit/replay/' + row_data.protocol_type + '/' + row_data.id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue