Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.
/ MITM_modules Public archive

适用于 Shadowrocket, 圈X, Loon 的乐健签到、跑步、考勤的模块规则集

License

Notifications You must be signed in to change notification settings

BlingCc233/MITM_modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 

Repository files navigation

MITM_legym_modules

The project enters the maintenance phase. Please submit an issue if you have any questions.

Module rules for Shadowrocket, Quantumult X, and Loon

LICENSE

  • Install configuration file for Shadowrocket.
  • Enable HTTPS decryption under this configuration.
  • Install the CA certificate -> Download the CA certificate -> Allow -> Settings -> Enter password at the top to install.
  • Trust the newly installed certificate in Settings - General - About - Certificate Trust Settings.
  • Go back to Shadowrocket and open Modules.
  • Import the module you need (e.g., legym check-in).
  • Enable Shadowrocket proxy and verify its functionality in the app.
  • 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. It all involves CA+rewrite.

Links you may need:

https://blingcc.eu.org/legym/legym.module
https://blingcc.eu.org/legym/prefix_legym.module
https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/classsign.module

For Loon users:

copy and paste

#!name=Legym

#!homepage=https://github.com/BlingCc233/MITM_modules/tree/archive

#!author=BlingCc


[Script]

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
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
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


[MITM] 

hostname = %APPEND% cpes.legym.cn

For Quantumult X users:

Simply copy the following code configuration (excluding [rewrite_local] and [mitm]) to the corresponding field.

[rewrite_local]
^https?:\/\/cpes\.legym\.cn\/running\/app\/getRunningLimit url script-response-body https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/prefix_legym.js
^https?:\/\/cpes\.legym\.cn\/education\/activity\/simple\/attainability\/get url script-response-body https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/legym.js
^https?:\/\/cpes\.legym\.cn\/education\/attainability\/info url script-response-body https://raw.githubusercontent.com/BlingCc233/MITM_modules/main/classsign.js

[mitm] 

hostname = cpes.legym.cn

🌟 Star History

Star History Chart

About

适用于 Shadowrocket, 圈X, Loon 的乐健签到、跑步、考勤的模块规则集

Resources

License

Stars

Watchers

Forks