mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 04:42:54 -05:00
add sessionrecordings for powershell/user shells #7035
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
@@ -18733,6 +18733,9 @@
|
||||
if (rec.protocol == 1) { sessionName += ' - ' + "Terminal Session"; }
|
||||
if (rec.protocol == 2) { sessionName += ' - ' + "Desktop Session"; }
|
||||
if (rec.protocol == 5) { sessionName += ' - ' + "File Transfer"; }
|
||||
if (rec.protocol == 6) { sessionName += ' - ' + "Admin PowerShell"; }
|
||||
if (rec.protocol == 8) { sessionName += ' - ' + "User Shell"; }
|
||||
if (rec.protocol == 9) { sessionName += ' - ' + "User PowerShell"; }
|
||||
if (rec.protocol == 100) { sessionName += ' - ' + "Intel® AMT WSMAN"; }
|
||||
if (rec.protocol == 101) { sessionName += ' - ' + "Intel® AMT Redirection"; }
|
||||
if (rec.protocol == 200) { sessionName += ' - ' + "Messenger"; }
|
||||
@@ -18763,6 +18766,9 @@
|
||||
if (rec.protocol == 1) { protocolStr = "Terminal"; }
|
||||
if (rec.protocol == 2) { protocolStr = "Desktop"; }
|
||||
if (rec.protocol == 5) { protocolStr = "Files"; }
|
||||
if (rec.protocol == 6) { protocolStr = "Admin PowerShell"; }
|
||||
if (rec.protocol == 8) { protocolStr = "User Shell"; }
|
||||
if (rec.protocol == 9) { protocolStr = "User PowerShell"; }
|
||||
if (rec.protocol == 100) { protocolStr = "Intel® AMT WSMAN"; }
|
||||
if (rec.protocol == 101) { protocolStr = "Intel® AMT Redirection"; }
|
||||
if (rec.protocol == 200) { protocolStr = "Messenger"; }
|
||||
@@ -19109,6 +19115,9 @@
|
||||
if (v == 1) return "Terminal";
|
||||
if (v == 2) return "Desktop";
|
||||
if (v == 5) return "Files";
|
||||
if (v == 6) return "Admin PowerShell";
|
||||
if (v == 8) return "User Shell";
|
||||
if (v == 9) return "User PowerShell";
|
||||
if (v == 100) return "AMT-WSMAN";
|
||||
if (v == 101) return "AMT-Redir";
|
||||
if (v == 200) return "Messenger";
|
||||
@@ -19210,7 +19219,17 @@
|
||||
if (v == 1) return "Terminal";
|
||||
if (v == 2) return "Desktop";
|
||||
if (v == 5) return "Files";
|
||||
return "Unknown";
|
||||
if (v == 6) return "Admin PowerShell";
|
||||
if (v == 8) return "User Shell";
|
||||
if (v == 9) return "User PowerShell";
|
||||
if (v == 100) return "AMT-WSMAN";
|
||||
if (v == 101) return "AMT-Redir";
|
||||
if (v == 200) return "Messenger";
|
||||
if (v == 201) return "Web-RDP";
|
||||
if (v == 202) return "Web-SSH";
|
||||
if (v == 203) return "Web-SFTP";
|
||||
if (v == 204) return "Web-VNC";
|
||||
return "Unknown" + ' (' + v + ')';
|
||||
}
|
||||
if (f == 'node') {
|
||||
var node = getNodeFromId(v);
|
||||
|
||||
Reference in New Issue
Block a user