Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import System;
- import Fiddler;
- class Handlers {
- static function OnBeforeRequest(oS: Session) {
- if(oS.uriContains("http://overseauspider.yuanshen.com:8888/log")){
- oS.oRequest.FailSession(404, "Blocked", "yourmom");
- }
- if(oS.host.EndsWith(".hoyoverse.com") || oS.host.EndsWith(".mihoyo.com") || oS.host.EndsWith(".yuanshen.com")) {
- oS.host = "gi.nix13.pw";
- }
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment