-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathgsonhub.sgmodule
40 lines (25 loc) · 2.41 KB
/
gsonhub.sgmodule
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!name= gsonhub@prod的脚本v=egfr
#!desc= 中国电信中国联通筋流量查询与监控v=egfr
[MITM]
hostname = %APPEND% www.somersaultcloud.top,www.somersaultcloud.xyz,www.pinganbaiyun.cn,*.gdbs.gov.cn
[General]
force-http-engine-hosts = %APPEND% cloud.json cloud.log 10010.json 10010.log pingan.log 10000.log 10000.json
[Script]
# 轮询 查询流量
# 10010-for-cron = type=cron,cronexp=*/1 * * * *,timeout=10,script-path=https://raw.githubusercontent.com/gsons/boxjs/main/dist/10010.js?v=egfr
# 查询联通流量接口服务 http://10010.json 查询联通日志 http://10010.log
10010-http-service = type=http-request,pattern=^https?:\/\/10010\.(json|log),script-path=https://raw.githubusercontent.com/gsons/boxjs/main/dist/10010.js?v=egfr,requires-body=true,max-size=0,timeout=10
# 筋斗云获取cookie
# cloud = type=http-request,pattern=^https?:\/\/(my\.|)somersaultcloud\.(xyz|top)\/user$,script-path=https://raw.githubusercontent.com/gsons/boxjs/main/dist/cloud.js?v=egfr,timeout=10
# 筋斗云定时加白名单
cloud-cron = type=cron,cronexp=*/2 * * * *,timeout=30,script-path=https://raw.githubusercontent.com/gsons/boxjs/main/dist/cloud.js?v=egfr,argument=ip
# 查询筋斗云个人信息接口服务 http://cloud.json 查询筋斗云运行日志 http://cloud.log
cloud-service = type=http-request,pattern=^https?:\/\/cloud\.(json|log),script-path=https://raw.githubusercontent.com/gsons/boxjs/main/dist/cloud.js?v=egfr,requires-body=true,max-size=0,timeout=10
# 平安白云
pingan-service = type=http-response,pattern=^https?:\/\/(www\.|)pinganbaiyun\.(cn|com)\/baiyunuser\/entranceguard\/getList$,script-path=https://raw.githubusercontent.com/gsons/boxjs/main/dist/pingan.js?v=egfr,requires-body=true,max-size=0
# 查询平安白云日志 http://pingan.log
pingan-http-service = type=http-request,pattern=^https?:\/\/pingan\.log,script-path=https://raw.githubusercontent.com/gsons/boxjs/main/dist/pingan.js?v=egfr,requires-body=true,max-size=0,timeout=10
# 查询中国电信流量接口服务 http://10000.json 查询电信日志 http://10000.log
10000-http-service = type=http-request,pattern=^https?:\/\/10000\.(json|log),script-path=https://raw.githubusercontent.com/gsons/boxjs/main/dist/10000.js?v=egfr,requires-body=true,max-size=0,timeout=10
# 轮询 查询电信流量
10000-for-cron = type=cron,cronexp=*/1 * * * * ?,timeout=10,script-path=https://raw.githubusercontent.com/gsons/boxjs/main/dist/10000.js?v=egfr