mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 21:02:53 -05:00
add amt relay events and fixamt recordings #6652
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
@@ -577,7 +577,7 @@
|
||||
var view = new Uint8Array(data.length);
|
||||
for (var i = 0; i < data.length; i++) { view[i] = data.charCodeAt(i); }
|
||||
|
||||
if ((readState == 0) && (rstr2hex(data) == '4100000000000000')) {
|
||||
if ((readState == 0) && (rstr2hex(data).startsWith('4100000000000000'))) {
|
||||
// We are not authenticated, KVM data starts here.
|
||||
readState = 1;
|
||||
if (data.length > 8) { amtDesktop.ProcessBinaryData(view.slice(8).buffer); }
|
||||
|
||||
Reference in New Issue
Block a user