├── LICENSE ├── README-zh.md └── README.md /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2024 BlingCc 2 | 3 | "Anti 996" License Version 1.0 (Draft) 4 | 5 | Permission is hereby granted to any individual or legal entity 6 | obtaining a copy of this licensed work (including the source code, 7 | documentation and/or related items, hereinafter collectively referred 8 | to as the "licensed work"), free of charge, to deal with the licensed 9 | work for any purpose, including without limitation, the rights to use, 10 | reproduce, modify, prepare derivative works of, distribute, publish 11 | and sublicense the licensed work, subject to the following conditions: 12 | 13 | 1. The individual or the legal entity must conspicuously display, 14 | without modification, this License and the notice on each redistributed 15 | or derivative copy of the Licensed Work. 16 | 17 | 2. The individual or the legal entity must strictly comply with all 18 | applicable laws, regulations, rules and standards of the jurisdiction 19 | relating to labor and employment where the individual is physically 20 | located or where the individual was born or naturalized; or where the 21 | legal entity is registered or is operating (whichever is stricter). In 22 | case that the jurisdiction has no such laws, regulations, rules and 23 | standards or its laws, regulations, rules and standards are 24 | unenforceable, the individual or the legal entity are required to 25 | comply with Core International Labor Standards. 26 | 27 | 3. The individual or the legal entity shall not induce, suggest or force 28 | its employee(s), whether full-time or part-time, or its independent 29 | contractor(s), in any methods, to agree in oral or written form, to 30 | directly or indirectly restrict, weaken or relinquish his or her 31 | rights or remedies under such laws, regulations, rules and standards 32 | relating to labor and employment as mentioned above, no matter whether 33 | such written or oral agreements are enforceable under the laws of the 34 | said jurisdiction, nor shall such individual or the legal entity 35 | limit, in any methods, the rights of its employee(s) or independent 36 | contractor(s) from reporting or complaining to the copyright holder or 37 | relevant authorities monitoring the compliance of the license about 38 | its violation(s) of the said license. 39 | 40 | THE LICENSED WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 41 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 42 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 43 | IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, 44 | DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 45 | OTHERWISE, ARISING FROM, OUT OF OR IN ANY WAY CONNECTION WITH THE 46 | LICENSED WORK OR THE USE OR OTHER DEALINGS IN THE LICENSED WORK. 47 | -------------------------------------------------------------------------------- /README-zh.md: -------------------------------------------------------------------------------- 1 | # MITM_legym_modules 2 | > 项目进入维护阶段,有问题提交issue 3 |
4 | 5 | ### _适用于 Shadowrocket, 圈X, Loon 的模块规则集_ 6 | [![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg)](https://github.com/996icu/996.ICU/blob/master/LICENSE) 7 | 8 | 9 |
10 | 11 | 12 | - 小火箭安装[配置文件](https://whatshub.top/config/shadowrocket_basic.conf) 13 | - 在该配置下开启HTTPS解密 14 | - 安装CA证书 -> 下载CA证书 -> 允许 -> 设置 -> 最上面输密码安装 15 | - 在`设置-通用-关于本机-证书信任设置`信任新安装的证书 16 | - 回到小火箭打开`模块` 17 | - 导入[你需要的模块(例:乐健签到)](https://blingcc.eu.org/legym/legym.module) 18 | - 开启Shadowrocket代理,去软件里验证是否可用 19 | - 安卓需要上级路由进行类似上文的mitm代理,原理一样,可以是root,可以是软路由,可以是[Windows](https://github.com/Grergo/clash-with-mitm?tab=readme-ov-file#mitm-configuration) .都是CA+rewrite 20 | 21 | ## 你可能用得到的链接: 22 | 23 | ```properties 24 | https://blingcc.eu.org/legym/legym.module 25 | ``` 26 | ```properties 27 | https://blingcc.eu.org/legym/prefix_legym.module 28 | ``` 29 | ```properties 30 | https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/classsign.module 31 | ``` 32 | 33 | ## Loon看这里 34 | > 复制粘贴 35 | 36 | ```properties 37 | #!name=Legym 38 | 39 | #!homepage=https://github.com/BlingCc233/MITM_modules/tree/archive 40 | 41 | #!author=BlingCc 42 | 43 | 44 | [Script] 45 | 46 | Classsign=type=http-response,pattern=https://cpes.legym.cn/education/attainability/info,requires-body=1,script-path=https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/classsign.js 47 | Legym=type=http-response,pattern=https://cpes.legym.cn/education/activity/simple/attainability/get,requires-body=1,script-path=https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/legym.js 48 | prefixLegym=type=http-response,pattern=https://cpes.legym.cn/running/app/getRunningLimit,requires-body=1,script-path=https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/prefix_legym.js 49 | 50 | 51 | [MITM] 52 | 53 | hostname = %APPEND% cpes.legym.cn 54 | ``` 55 | 56 | ## 圈X看这里 57 | 58 | > 只需复制以下代码配置(不包括`[rewrite_local]`和`[mitm]`)放到对应字段 59 | 60 | 61 | 62 | ```properties 63 | [rewrite_local] 64 | ^https?:\/\/cpes\.legym\.cn\/running\/app\/getRunningLimit url script-response-body https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/prefix_legym.js 65 | ^https?:\/\/cpes\.legym\.cn\/education\/activity\/simple\/attainability\/get url script-response-body https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/legym.js 66 | ^https?:\/\/cpes\.legym\.cn\/education\/attainability\/info url script-response-body https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/classsign.js 67 | 68 | [mitm] 69 | 70 | hostname = cpes.legym.cn 71 | 72 | ``` 73 | 74 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MITM_legym_modules 2 | > The project enters the maintenance phase. Please submit an issue if you have any questions. 3 |
4 | 5 | ### _Module rules for Shadowrocket, Quantumult X, and Loon_ 6 | [![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg)](https://github.com/996icu/996.ICU/blob/master/LICENSE) 7 | 8 | 9 |
10 | 11 | 12 | - Install [configuration file](https://whatshub.top/config/shadowrocket_basic.conf) for Shadowrocket. 13 | - Enable HTTPS decryption under this configuration. 14 | - Install the CA certificate -> Download the CA certificate -> Allow -> Settings -> Enter password at the top to install. 15 | - Trust the newly installed certificate in `Settings - General - About - Certificate Trust Settings`. 16 | - Go back to Shadowrocket and open `Modules`. 17 | - Import [the module you need (e.g., legym check-in)](https://blingcc.eu.org/legym/legym.module). 18 | - Enable Shadowrocket proxy and verify its functionality in the app. 19 | - For Android, you need to use a superior routing method for mitm proxy similar to the one mentioned above. The principle is the same, whether it's rooted, soft-routed, or [Windows](https://github.com/Grergo/clash-with-mitm?tab=readme-ov-file#mitm-configuration). It all involves CA+rewrite. 20 | 21 | ## Links you may need: 22 | 23 | ```properties 24 | https://blingcc.eu.org/legym/legym.module 25 | ``` 26 | ```properties 27 | https://blingcc.eu.org/legym/prefix_legym.module 28 | ``` 29 | ```properties 30 | https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/classsign.module 31 | ``` 32 | 33 | ## For Loon users: 34 | > copy and paste 35 | 36 | ```properties 37 | #!name=Legym 38 | 39 | #!homepage=https://github.com/BlingCc233/MITM_modules/tree/archive 40 | 41 | #!author=BlingCc 42 | 43 | 44 | [Script] 45 | 46 | Classsign=type=http-response,pattern=https://cpes.legym.cn/education/attainability/info,requires-body=1,script-path=https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/classsign.js 47 | Legym=type=http-response,pattern=https://cpes.legym.cn/education/activity/simple/attainability/get,requires-body=1,script-path=https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/legym.js 48 | prefixLegym=type=http-response,pattern=https://cpes.legym.cn/running/app/getRunningLimit,requires-body=1,script-path=https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/prefix_legym.js 49 | 50 | 51 | [MITM] 52 | 53 | hostname = %APPEND% cpes.legym.cn 54 | ``` 55 | 56 | ## For Quantumult X users: 57 | > Simply copy the following code configuration (excluding `[rewrite_local]` and `[mitm]`) to the corresponding field. 58 | 59 | ```properties 60 | [rewrite_local] 61 | ^https?:\/\/cpes\.legym\.cn\/running\/app\/getRunningLimit url script-response-body https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/prefix_legym.js 62 | ^https?:\/\/cpes\.legym\.cn\/education\/activity\/simple\/attainability\/get url script-response-body https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/legym.js 63 | ^https?:\/\/cpes\.legym\.cn\/education\/attainability\/info url script-response-body https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/classsign.js 64 | 65 | [mitm] 66 | 67 | hostname = cpes.legym.cn 68 | 69 | ``` 70 | 71 | 72 | ## 🌟 Star History 73 | 74 | [![Star History Chart](https://api.star-history.com/svg?repos=BlingCc233/MITM_modules&type=Date)](https://star-history.com/#BlingCc233/MITM_modules) 75 | 76 | --------------------------------------------------------------------------------