Skip to content

Commit

Permalink
feat: Base64 订阅关键词增加 VLESS 和 Hysteria2
Browse files Browse the repository at this point in the history
  • Loading branch information
xream committed Oct 16, 2023
1 parent 79c9b89 commit fa65eb1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sub-store",
"version": "2.14.72",
"version": "2.14.73",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js",
"scripts": {
Expand Down
16 changes: 9 additions & 7 deletions backend/src/core/proxy-utils/preprocessors/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ function Base64Encoded() {
const name = 'Base64 Pre-processor';

const keys = [
'dm1lc3M',
'c3NyOi8v',
'dHJvamFu',
'c3M6Ly',
'c3NkOi8v',
'c2hhZG93',
'aHR0c',
'dm1lc3M', // vmess
'c3NyOi8v', // ssr://
'dHJvamFu', // trojan
'c3M6Ly', // ss:/
'c3NkOi8v', // ssd://
'c2hhZG93', // shadow
'aHR0c', // htt
'dmxlc3M=', // vless
'aHlzdGVyaWEy', // hysteria2
];

const test = function (raw) {
Expand Down

0 comments on commit fa65eb1

Please sign in to comment.