Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Fiddler;
- class Handlers
- {
- static function OnBeforeRequest(oSession: Session) {
- if (oSession.hostname.Contains(".epicgames."))
- {
- if (oSession.HTTPMethodIs("CONNECT"))
- {
- oSession["x-replywithtunnel"] = "FortniteTunnel";
- return;
- }
- oSession.fullUrl = "http://127.0.0.1:8080" + oSession.PathAndQuery;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement