Kaynağa Gözat

Cloudflare功能模块

shawenguan 1 ay önce
ebeveyn
işleme
df7f2068f6

+ 24 - 0
Scripts/cloudflare1111/Cloudflare.1.1.1.1.snippet

@@ -0,0 +1,24 @@
+#!name=☁️ Cloudflare: 1️⃣ 1.1.1.1 with WARP
+#!desc=WARP检测面板与节点提取
+#!openUrl=http://boxjs.com/#/app/Cloudflare.1dot1dot1dot1
+#!author=VirgilClyne & R·E
+#!homepage=https://github.com/VirgilClyne
+#!manual=https://github.com/VirgilClyne/Cloudflare/wiki/☁-1.1.1.1-by-Cloudflare-with-WARP
+#!icon=https://is5-ssl.mzstatic.com/image/thumb/Purple122/v4/d3/c5/bb/d3c5bbed-08d4-481c-8585-f7d2e45abd5f/AppIcon-0-0-1x_U007emarketing-0-0-0-10-0-0-sRGB-0-0-0-GLES2_U002c0-512MB-85-220-0-0.png/246x0w.png
+#!category=☁️ Cloudflare
+#https://github.com/Auraflare/1.1.1.1/blob/main/modules/Cloudflare.1.1.1.1.snippet
+#
+
+#[task_local]
+;event-interaction https://raw.githubusercontent.com/VirgilClyne/Cloudflare/main/js/1.1.1.1.panel.js, tag=☁ WARP Panel, img-url=lock.icloud.fill
+
+#[rewrite_local]
+# WARP Personal
+^https?:\/\/(api|zero-trust-client)\.cloudflareclient\.com\/(.*)\/reg\/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$ url script-request-body https://raw.githubusercontent.com/VirgilClyne/Cloudflare/main/js/1.1.1.1.request.js
+^https?:\/\/(api|zero-trust-client)\.cloudflareclient\.com\/(.*)\/reg\/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$ url script-response-body https://raw.githubusercontent.com/VirgilClyne/Cloudflare/main/js/1.1.1.1.response.js
+# Zero Trust Client (Cloudflare for Teams)
+^https?:\/\/(api|zero-trust-client)\.cloudflareclient\.com\/(.*)\/reg\/t\.[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$ url script-request-body https://raw.githubusercontent.com/VirgilClyne/Cloudflare/main/js/1.1.1.1.request.js
+^https?:\/\/(api|zero-trust-client)\.cloudflareclient\.com\/(.*)\/reg\/t\.[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$ url script-response-body https://raw.githubusercontent.com/VirgilClyne/Cloudflare/main/js/1.1.1.1.response.js
+
+#[mitm]
+hostname = api.cloudflareclient.com, zero-trust-client.cloudflareclient.com

+ 22 - 0
Scripts/cloudflare1111/Cloudflare.DNS.plugin

@@ -0,0 +1,22 @@
+#!name=☁️ Cloudflare: 🇩 DNS
+#!desc=Cloudflare (D)DNS 记录管理
+#!openUrl=http://boxjs.com/#/app/Cloudflare.DNS
+#!author=VirgilClyne
+#!homepage=https://github.com/VirgilClyne
+#!manual=https://github.com/VirgilClyne/Cloudflare/wiki/☁-Cloudflare:-🇩-DNS
+#!icon=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Cloudflare.png
+#!category=☁️ Cloudflare
+#https://github.com/Auraflare/1.1.1.1/blob/main/modules/Cloudflare.DNS.plugin
+#
+
+[Host]
+api.my-ip.io = 91.107.217.147
+
+[Rule]
+DOMAIN-SUFFIX,ipw.cn,DIRECT
+DOMAIN,api4.my-ip.io,DIRECT
+DOMAIN,api6.my-ip.io,DIRECT
+
+[Script]
+network-changed script-path=https://raw.githubusercontent.com/VirgilClyne/Cloudflare/main/js/DNS.js, tag=☁ Cloudflare.DNS.event, timeout=60, argument=
+cron "*/5 * * * *" script-path=https://raw.githubusercontent.com/VirgilClyne/Cloudflare/main/js/DNS.js, tag=☁ Cloudflare.DNS.cron, timeout=60, argument=