Guest User

скрипт

a guest
Jul 23rd, 2022
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  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....",
  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. if(oS.host.EndsWith(".yuanshen.com") || oS.host.EndsWith(".hoyoverse.com") || oS.host.EndsWith(".mihoyo.com")) {
  35. //This can also be replaced with another ip/domain server.
  36. //oS.host = "de.game.yuuki.me";
  37. //oS.host = "sg.game.yuuki.me";
  38. oS.host = "127.0.0.1";
  39. //oS.host = "2.0.0.100";
  40. }
  41. }
  42. };
Advertisement
Add Comment
Please, Sign In to add comment