Facebook
From MinerF, 1 Year ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 2660
  1. import System;
  2. import System.Windows.Forms;
  3. import Fiddler;
  4. import System.Text.RegularExpressions;
  5. var list = [
  6.     "https://api-os-takumi.mihoyo.com/", //1
  7.     "https://hk4e-api-os-static.mihoyo.com/", //2
  8.     "https://hk4e-sdk-os.mihoyo.com/",
  9.     "https://dispatchosglobal.yuanshen.com/",
  10.     "https://osusadispatch.yuanshen.com/", // 5
  11.     "https://account.mihoyo.com/",
  12.     "https://log-upload-os.mihoyo.com/",
  13.     "https://dispatchcntest.yuanshen.com/",
  14.     "https://devlog-upload.mihoyo.com/",
  15.     "https://webstatic.mihoyo.com/", // 10
  16.     "https://log-upload.mihoyo.com/",
  17.     "https://hk4e-sdk.mihoyo.com/",
  18.     "https://api-beta-sdk.mihoyo.com/",
  19.     "https://api-beta-sdk-os.mihoyo.com/",
  20.     "https://cnbeta01dispatch.yuanshen.com/", // 15
  21.     "https://dispatchcnglobal.yuanshen.com/",
  22.     "https://cnbeta02dispatch.yuanshen.com/",
  23.     "https://sdk-os-static.mihoyo.com/",
  24.     "https://webstatic-sea.mihoyo.com/",
  25.     "https://webstatic-sea.hoyoverse.com/", // 20
  26.     "https://hk4e-sdk-os-static.hoyoverse.com/",
  27.     "https://sdk-os-static.hoyoverse.com/",
  28.     "https://api-account-os.hoyoverse.com/",
  29.     "https://hk4e-sdk-os.hoyoverse.com/",
  30.     ];
  31. class Handlers
  32. {
  33.     static function OnBeforeRequest(oS: Session) {
  34.         var active = true;
  35.         if(active) {
  36.             if(oS.uriContains("http://overseauspider.yuanshen.com:8888/log")){
  37.                 oS.oRequest.FailSession(404, "Blocked", "yourmom");
  38.             }
  39.             for(var i = 0; i < 24 ;i++) {
  40.                 if(oS.uriContains(list[i])) {
  41.                     oS.fullUrl = oS.fullUrl.Replace("http://", "https://");
  42.                     oS.host = "raidensmp.me:443";
  43.                     break;
  44.                 }
  45.             }
  46.         }
  47.     }
  48. };

Replies to GenshinPrivateServerScript rss

Title Name Language When
Re: GenshinPrivateServerScript Milica text 1 Year ago.
Re: GenshinPrivateServerScript Beige Tern text 1 Year ago.
Re: GenshinPrivateServerScript Voluminous Tamarin text 1 Year ago.
Re: GenshinPrivateServerScript EatmyPosea text 1 Year ago.
Re: GenshinPrivateServerScript Silly Dormouse text 1 Year ago.
Re: GenshinPrivateServerScript Big Tern text 1 Year ago.
Re: GenshinPrivateServerScript Tinct Penguin text 1 Year ago.
Re: GenshinPrivateServerScript Smelly Monkey text 1 Year ago.
Re: GenshinPrivateServerScript Insensitive Leopard text 1 Year ago.
Re: GenshinPrivateServerScript Bitty Crocodile text 1 Year ago.
Re: GenshinPrivateServerScript Mammoth Treeshrew text 1 Year ago.
Re: GenshinPrivateServerScript Tinct Capybara text 1 Year ago.
Re: GenshinPrivateServerScript Bistre Bee text 1 Year ago.
Re: GenshinPrivateServerScript Chartreuse Agouti text 1 Year ago.
Re: GenshinPrivateServerScript Round Tamarin text 1 Year ago.