Skip to content

Commit

Permalink
Revised obfs settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
bia-pain-bache committed Jan 18, 2025
1 parent 505bafa commit f203917
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions obfs-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f203917

Please sign in to comment.