Advertisement
Guest User

Fiddler Script

a guest
Oct 15th, 2022
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. import Fiddler;
  2.  
  3. class Handlers
  4. {
  5. static function OnBeforeRequest(oSession: Session) {
  6. if (oSession.hostname.Contains(".epicgames."))
  7. {
  8. if (oSession.HTTPMethodIs("CONNECT"))
  9. {
  10. oSession["x-replywithtunnel"] = "FortniteTunnel";
  11. return;
  12. }
  13.  
  14. oSession.fullUrl = "http://127.0.0.1:8080" + oSession.PathAndQuery;
  15. }
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement