Skip to content

Commit a53e5da

Browse files
committed
feat: 删除混淆工作流文件 obfuscator.yml 和 obfuscator_up.yml
1 parent 5ae794c commit a53e5da

File tree

3 files changed

+5
-132
lines changed

3 files changed

+5
-132
lines changed

.github/workflows/obfuscator.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

.github/workflows/obfuscator_up.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

_worker.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ let subConfig = atob('aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL0FDTDRTU1IvQU
99
let subProtocol = 'https';
1010
let subEmoji = 'true';
1111
let socks5Address = '';
12-
let parsedSocks5Address = {};
1312
let enableSocks = false;
1413
let enableHttp = false;
1514
let noTLS = 'false';
@@ -124,7 +123,7 @@ export default {
124123
proxyIP = env.PROXYIP || env.proxyip || proxyIP;
125124
proxyIPs = await 整理(proxyIP);
126125
proxyIP = proxyIPs[Math.floor(Math.random() * proxyIPs.length)];
127-
proxyIP = proxyIP ? proxyIP.toLowerCase() : request.cf.colo + atob('LnByb3h5aXAuY21saXVzc3NzLm5ldA==')
126+
proxyIP = proxyIP ? proxyIP.toLowerCase() : request.cf.colo + '.PrOXYip.CMLiussss.NeT';
128127
socks5Address = env.HTTP || env.SOCKS5 || socks5Address;
129128
socks5s = await 整理(socks5Address);
130129
socks5Address = socks5s[Math.floor(Math.random() * socks5s.length)];
@@ -135,7 +134,7 @@ export default {
135134
if (env.BAN) banHosts = await 整理(env.BAN);
136135
if (socks5Address) {
137136
try {
138-
parsedSocks5Address = socks5AddressParser(socks5Address);
137+
socks5AddressParser(socks5Address);
139138
请求CF反代IP = env.RPROXYIP || 'false';
140139
enableSocks = true;
141140
} catch (err) {
@@ -300,6 +299,9 @@ export default {
300299
} else if (new RegExp('/pyip=', 'i').test(url.pathname)) {
301300
proxyIP = url.pathname.toLowerCase().split('/pyip=')[1];
302301
enableSocks = false;
302+
} else if (new RegExp('/ip=', 'i').test(url.pathname)) {
303+
proxyIP = url.pathname.toLowerCase().split('/ip=')[1];
304+
enableSocks = false;
303305
}
304306

305307
return handleWebSocket(request);

0 commit comments

Comments
 (0)