From b7d97a9ce0103da7a95366215b33965197b16b9f Mon Sep 17 00:00:00 2001 From: gedolsaldo Date: Thu, 12 Dec 2024 02:16:31 +0700 Subject: [PATCH 1/4] Update wrangler.toml --- wrangler.toml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/wrangler.toml b/wrangler.toml index 0bc94a41f..753c3e9ec 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,9 +1,21 @@ -name = "cf-worker-ws-dev" # todo +name = "indo" # todo #name = "cf-worker-connect-test" # todo #main = "test/worker/cf-cdn-cgi-trace2.js" #main = "test/worker/worker-connect-test.js" main = "_worker.js" compatibility_date = "2023-05-26" +routes = [ + { pattern = "indo.vvip-anakmami.my.id", custom_domain = true }, + { pattern = "ava.game.naver.com.indo.vvip-anakmami.my.id", custom_domain = true }, + { pattern = "graph.instagram.com.indo.vvip-anakmami.my.id", custom_domain = true }, + { pattern = "quiz.int.vidio.com.indo.vvip-anakmami.my.id", custom_domain = true }, + { pattern = "investors.spotify.com.indo.vvip-anakmami.my.id", custom_domain = true }, + { pattern = "zaintest.vuclip.com.indo.vvip-anakmami.my.id", custom_domain = true }, + { pattern = "cache.netflix.com.indo.vvip-anakmami.my.id", custom_domain = true }, + { pattern = "blog.webex.com.indo.vvip-anakmami.my.id", custom_domain = true }, + { pattern = "support.zoom.us.indo.vvip-anakmami.my.id", custom_domain = true }, +] + [vars] # UUID = "d342d11e-d424-4583-b36e-524ab1f0afa4" @@ -12,4 +24,4 @@ compatibility_date = "2023-05-26" # NODE_ID = "1" # API_TOKEN = "example_dev_token" # API_HOST = "api.v2board.com" -UUID = "1b6c1745-992e-4aac-8685-266c090e50ea,89b64978-6244-4bf3-bf64-67ade4ce5c8f,d342d11e-d424-4583-b36e-524ab1f0afa4" +UUID = "ce2548db-52f6-46cd-8323-ae5cc0bbd4b9" From dee1b9438cd93875263d835c71a9ced305db8252 Mon Sep 17 00:00:00 2001 From: gedolsaldo Date: Thu, 12 Dec 2024 02:24:41 +0700 Subject: [PATCH 2/4] Update _worker.js --- _worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_worker.js b/_worker.js index e011e416d..588281f14 100644 --- a/_worker.js +++ b/_worker.js @@ -5,7 +5,7 @@ import { connect } from 'cloudflare:sockets'; // [Windows] Press "Win + R", input cmd and run: Powershell -NoExit -Command "[guid]::NewGuid()" let userID = 'd342d11e-d424-4583-b36e-524ab1f0afa4'; -const พร็อกซีไอพีs = ['cdn.xn--b6gac.eu.org', 'cdn-all.xn--b6gac.eu.org', 'workers.cloudflare.cyou']; +const พร็อกซีไอพีs = ['119.81.201.154']; // if you want to use ipv6 or single พร็อกซีไอพี, please add comment at this line and remove comment at the next line let พร็อกซีไอพี = พร็อกซีไอพีs[Math.floor(Math.random() * พร็อกซีไอพีs.length)]; From 69fade1df646a271b1a27847887d8b1c90bf8de4 Mon Sep 17 00:00:00 2001 From: gedolsaldo Date: Thu, 12 Dec 2024 02:57:13 +0700 Subject: [PATCH 3/4] Update _worker.js --- _worker.js | 213 +++++++++++++++++++---------------------------------- 1 file changed, 76 insertions(+), 137 deletions(-) diff --git a/_worker.js b/_worker.js index 588281f14..90a37a37b 100644 --- a/_worker.js +++ b/_worker.js @@ -699,50 +699,45 @@ const ed = 'RUR0dW5uZWw='; * @returns {string} */ function getวเลสConfig(userIDs, hostName) { - const commonUrlPart = `:443?encryption=none&security=tls&sni=${hostName}&fp=randomized&type=ws&host=${hostName}&path=%2F%3Fed%3D2048#${hostName}`; - const hashSeparator = "################################################################"; - + const commonUrlPart = `:443?encryption=none&security=tls&sni=${hostName}&fp=randomized&type=ws&host=${hostName}&path=/vlesscf#${hostName}`; + const commonUrlPart1 = `:80?encryption=none&security=none&fp=randomized&type=ws&host=${hostName}&path=/vlesscf#${hostName}`; + // Split the userIDs into an array const userIDArray = userIDs.split(","); // Prepare output string for each userID - const output = userIDArray.map((userID) => { + const output1 = userIDArray.map((userID) => { const วเลสMain = atob(pt) + '://' + userID + atob(at) + hostName + commonUrlPart; - const วเลสSec = atob(pt) + '://' + userID + atob(at) + พร็อกซีไอพี + commonUrlPart; - return `

UUID: ${userID}

${hashSeparator}\nv2ray default ip ---------------------------------------------------------------- -${วเลสMain} - ---------------------------------------------------------------- -v2ray with bestip ---------------------------------------------------------------- -${วเลสSec} - ----------------------------------------------------------------`; + return `
Vless443
--------------\n +${วเลสMain}\n + +
`; + }).join('\n'); + const output2 = userIDArray.map((userID) => { + const วเลสSec = atob(pt) + '://' + userID + atob(at) + hostName + commonUrlPart1; + return `
Vless80
----------------\n +${วเลสSec}\n + +
`; }).join('\n'); - const sublink = `https://${hostName}/sub/${userIDArray[0]}?format=clash` - const subbestip = `https://${hostName}/bestip/${userIDArray[0]}`; - const clash_link = `https://api.v1.mk/sub?target=clash&url=${encodeURIComponent(sublink)}&insert=false&emoji=true&list=false&tfo=false&scv=true&fdn=false&sort=false&new_name=true`; // Prepare header string const header = ` -

图片描述 -Welcome! This function generates configuration for วเลส protocol. If you found this useful, please check our GitHub project for more: -欢迎!这是生成 วเลส 协议的配置。如果您发现这个项目很好用,请查看我们的 GitHub 项目给我一个star: -EDtunnel - https://github.com/3Kmfi6HP/EDtunnel - -วเลส 节点订阅连接 -Clash for Windows 节点订阅连接 -Clash 节点订阅连接 -优选IP自动节点订阅 -Clash优选IP自动 -singbox优选IP自动 -nekobox优选IP自动 -v2rayNG优选IP自动

`; - +
+
..., ...-...-...
+
    +
  • ..
  • +
  • :
  • +
  • ..
  • +
  • :
  • +
  • ..
  • +
+
+

VLESS FREE CLOUDFLARE

+
`; // HTML Head with CSS and FontAwesome library const htmlHead = ` - EDtunnel: วเลส configuration + Vless Free @@ -761,17 +756,32 @@ ${วเลสSec} + `; @@ -812,9 +807,10 @@ ${วเลสSec} return ` ${htmlHead} - -
${header}
-
${output}
+ +
${header}
+
${output1}
+
${output2}
`; } @@ -867,78 +879,5 @@ function สร้างวเลสSub(ไอดีผู้ใช้_เส้ } const cn_hostnames = [ - 'weibo.com', // Weibo - A popular social media platform - 'www.baidu.com', // Baidu - The largest search engine in China - 'www.qq.com', // QQ - A widely used instant messaging platform - 'www.taobao.com', // Taobao - An e-commerce website owned by Alibaba Group - 'www.jd.com', // JD.com - One of the largest online retailers in China - 'www.sina.com.cn', // Sina - A Chinese online media company - 'www.sohu.com', // Sohu - A Chinese internet service provider - 'www.tmall.com', // Tmall - An online retail platform owned by Alibaba Group - 'www.163.com', // NetEase Mail - One of the major email providers in China - 'www.zhihu.com', // Zhihu - A popular question-and-answer website - 'www.youku.com', // Youku - A Chinese video sharing platform - 'www.xinhuanet.com', // Xinhua News Agency - Official news agency of China - 'www.douban.com', // Douban - A Chinese social networking service - 'www.meituan.com', // Meituan - A Chinese group buying website for local services - 'www.toutiao.com', // Toutiao - A news and information content platform - 'www.ifeng.com', // iFeng - A popular news website in China - 'www.autohome.com.cn', // Autohome - A leading Chinese automobile online platform - 'www.360.cn', // 360 - A Chinese internet security company - 'www.douyin.com', // Douyin - A Chinese short video platform - 'www.kuaidi100.com', // Kuaidi100 - A Chinese express delivery tracking service - 'www.wechat.com', // WeChat - A popular messaging and social media app - 'www.csdn.net', // CSDN - A Chinese technology community website - 'www.imgo.tv', // ImgoTV - A Chinese live streaming platform - 'www.aliyun.com', // Alibaba Cloud - A Chinese cloud computing company - 'www.eyny.com', // Eyny - A Chinese multimedia resource-sharing website - 'www.mgtv.com', // MGTV - A Chinese online video platform - 'www.xunlei.com', // Xunlei - A Chinese download manager and torrent client - 'www.hao123.com', // Hao123 - A Chinese web directory service - 'www.bilibili.com', // Bilibili - A Chinese video sharing and streaming platform - 'www.youth.cn', // Youth.cn - A China Youth Daily news portal - 'www.hupu.com', // Hupu - A Chinese sports community and forum - 'www.youzu.com', // Youzu Interactive - A Chinese game developer and publisher - 'www.panda.tv', // Panda TV - A Chinese live streaming platform - 'www.tudou.com', // Tudou - A Chinese video-sharing website - 'www.zol.com.cn', // ZOL - A Chinese electronics and gadgets website - 'www.toutiao.io', // Toutiao - A news and information app - 'www.tiktok.com', // TikTok - A Chinese short-form video app - 'www.netease.com', // NetEase - A Chinese internet technology company - 'www.cnki.net', // CNKI - China National Knowledge Infrastructure, an information aggregator - 'www.zhibo8.cc', // Zhibo8 - A website providing live sports streams - 'www.zhangzishi.cc', // Zhangzishi - Personal website of Zhang Zishi, a public intellectual in China - 'www.xueqiu.com', // Xueqiu - A Chinese online social platform for investors and traders - 'www.qqgongyi.com', // QQ Gongyi - Tencent's charitable foundation platform - 'www.ximalaya.com', // Ximalaya - A Chinese online audio platform - 'www.dianping.com', // Dianping - A Chinese online platform for finding and reviewing local businesses - 'www.suning.com', // Suning - A leading Chinese online retailer - 'www.zhaopin.com', // Zhaopin - A Chinese job recruitment platform - 'www.jianshu.com', // Jianshu - A Chinese online writing platform - 'www.mafengwo.cn', // Mafengwo - A Chinese travel information sharing platform - 'www.51cto.com', // 51CTO - A Chinese IT technical community website - 'www.qidian.com', // Qidian - A Chinese web novel platform - 'www.ctrip.com', // Ctrip - A Chinese travel services provider - 'www.pconline.com.cn', // PConline - A Chinese technology news and review website - 'www.cnzz.com', // CNZZ - A Chinese web analytics service provider - 'www.telegraph.co.uk', // The Telegraph - A British newspaper website - 'www.ynet.com', // Ynet - A Chinese news portal - 'www.ted.com', // TED - A platform for ideas worth spreading - 'www.renren.com', // Renren - A Chinese social networking service - 'www.pptv.com', // PPTV - A Chinese online video streaming platform - 'www.liepin.com', // Liepin - A Chinese online recruitment website - 'www.881903.com', // 881903 - A Hong Kong radio station website - 'www.aipai.com', // Aipai - A Chinese online video sharing platform - 'www.ttpaihang.com', // Ttpaihang - A Chinese celebrity popularity ranking website - 'www.quyaoya.com', // Quyaoya - A Chinese online ticketing platform - 'www.91.com', // 91.com - A Chinese software download website - 'www.dianyou.cn', // Dianyou - A Chinese game information website - 'www.tmtpost.com', // TMTPost - A Chinese technology media platform - 'www.douban.com', // Douban - A Chinese social networking service - 'www.guancha.cn', // Guancha - A Chinese news and commentary website - 'www.so.com', // So.com - A Chinese search engine - 'www.58.com', // 58.com - A Chinese classified advertising website - 'www.cnblogs.com', // Cnblogs - A Chinese technology blog community - 'www.cntv.cn', // CCTV - China Central Television official website - 'www.secoo.com', // Secoo - A Chinese luxury e-commerce platform + 't.me/Tingkeh', ]; From 5192cd59a67fddd9c70c3cbdf4874ad82eab9607 Mon Sep 17 00:00:00 2001 From: gedolsaldo Date: Thu, 12 Dec 2024 03:00:24 +0700 Subject: [PATCH 4/4] Update wrangler.toml --- wrangler.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/wrangler.toml b/wrangler.toml index 753c3e9ec..9a3253d66 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -15,8 +15,6 @@ routes = [ { pattern = "blog.webex.com.indo.vvip-anakmami.my.id", custom_domain = true }, { pattern = "support.zoom.us.indo.vvip-anakmami.my.id", custom_domain = true }, ] - - [vars] # UUID = "d342d11e-d424-4583-b36e-524ab1f0afa4" # PROXYIP = "1.2.3.4"