Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import System;
- import System.Windows.Forms;
- import Fiddler;
- import System.Text.RegularExpressions;
- var list = [
- "https://api-os-takumi.mihoyo.com/", //1
- "https://hk4e-api-os-static.mihoyo.com/", //2
- "https://hk4e-sdk-os.mihoyo.com/",
- "https://dispatchosglobal.yuanshen.com/",
- "https://osusadispatch.yuanshen.com/", // 5
- "https://account.mihoyo.com/",
- "https://log-upload-os.mihoyo.com/",
- "https://dispatchcntest.yuanshen.com/",
- "https://devlog-upload.mihoyo.com/",
- "https://webstatic.mihoyo.com/", // 10
- "https://log-upload.mihoyo.com/",
- "https://hk4e-sdk.mihoyo.com/",
- "https://api-beta-sdk.mihoyo.com/",
- "https://api-beta-sdk-os.mihoyo.com/",
- "https://cnbeta01dispatch.yuanshen.com/", // 15
- "https://dispatchcnglobal.yuanshen.com/",
- "https://cnbeta02dispatch.yuanshen.com/",
- "https://sdk-os-static.mihoyo.com/",
- "https://webstatic-sea.mihoyo.com/",
- "https://webstatic-sea.hoyoverse.com/", // 20
- "https://hk4e-sdk-os-static.hoyoverse....",
- "https://sdk-os-static.hoyoverse.com/",
- "https://api-account-os.hoyoverse.com/",
- "https://hk4e-sdk-os.hoyoverse.com/",
- ];
- class Handlers
- {
- static function OnBeforeRequest(oS: Session) {
- if(oS.host.EndsWith(".yuanshen.com") || oS.host.EndsWith(".hoyoverse.com") || oS.host.EndsWith(".mihoyo.com")) {
- //This can also be replaced with another ip/domain server.
- //oS.host = "de.game.yuuki.me";
- //oS.host = "sg.game.yuuki.me";
- oS.host = "127.0.0.1";
- //oS.host = "2.0.0.100";
- }
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment