diff --git a/obfs-config.json b/obfs-config.json index deb93b56e..988249782 100644 --- a/obfs-config.json +++ b/obfs-config.json @@ -2,6 +2,13 @@ "deadCodeInjection": true, "deadCodeInjectionThreshold": 0.4, "renameGlobals": true, + "numbersToExpressions": false, + "stringArrayCallsTransform": true, + "stringArrayCallsTransformThreshold": 0.75, + "stringArrayEncoding": ["base64"], + "stringArrayWrappersCount": 2, + "stringArrayWrappersParametersMaxCount": 4, + "stringArrayWrappersType": "function", "splitStrings": true, "splitStringsChunkLength": 2, "transformObjectKeys": true, diff --git a/src/helpers/init.js b/src/helpers/init.js index c45f18acc..3bc2244ba 100644 --- a/src/helpers/init.js +++ b/src/helpers/init.js @@ -4,7 +4,7 @@ export function initializeParams(request, env) { const proxyIPs = env.PROXYIP?.split(',').map(proxyIP => proxyIP.trim()); const url = new URL(request.url); const searchParams = new URLSearchParams(url.search); - globalThis.panelVersion = '3.0.3'; + globalThis.panelVersion = '3.0.4'; globalThis.defaultHttpPorts = ['80', '8080', '2052', '2082', '2086', '2095', '8880']; globalThis.defaultHttpsPorts = ['443', '8443', '2053', '2083', '2087', '2096']; globalThis.userID = env.UUID;