SHARE
TWEET

Untitled

a guest May 19th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     import System;
  2.     import System.IO;
  3.     import System.Web;
  4.     import System.Windows.Forms;
  5.     import Fiddler;
  6.    
  7.     class Handlers
  8.     {  
  9.         static function OnBeforeRequest(oSession: Session) {
  10.             if (oSession.HostnameIs("xmpp-service-prod.ol.epicgames.com")) oSession.oRequest.headers.UriScheme = "https";
  11.             else if (oSession.HostnameIs("fortnite-matchmaking-public-service-live-prod-a.ol.epicgames.com")) oSession.oRequest.headers.UriScheme = "https";
  12.             else if (oSession.HostnameIs("account-public-service-prod.ol.epicgames.com")) {
  13.                 if (oSession.PathAndQuery.Contains("/account/api/oauth/token")) {
  14.                     oSession.oRequest.headers["Authorization"] = "basic MzQ0NmNkNzI2OTRjNGE0NDg1ZDgxYjc3YWRiYjIxNDE6OTIwOWQ0YTVlMjVhNDU3ZmI5YjA3NDg5ZDMxM2I0MWE=";
  15.                 }
  16.             }
  17.             if (oSession.PathAndQuery.Contains("EquipBattleRoyaleCustomization?profileId=athena") && oSession.hostname.Contains("fortnite") ||
  18.                 //oSession.PathAndQuery.Contains("SetItemFavoriteStatusBatch?profileId=athena") ||
  19.                 //oSession.PathAndQuery.Contains("QueryProfile?profileId=athena") ||
  20.                 //oSession.PathAndQuery.Contains("QueryProfile?profileId=common_core") ||
  21.                 //oSession.PathAndQuery.Contains("ClientQuestLogin?profileId=athena") ||
  22.                 //oSession.PathAndQuery.Contains("ClientQuestLogin?profileId=common_core") ||
  23.                 //oSession.PathAndQuery.Contains("MarkItemSeen?profileId=athena") ||
  24.                 //oSession.PathAndQuery.Contains("RemoveGiftBox?profileId=common_core")) {
  25.                     //oSession.hostname = "api-public-service.battledash.co";
  26.             }
  27.         }
  28.         static function OnBeforeResponse(oSession: Session) {
  29.             oSession.utilDecodeResponse();
  30.             oSession.utilReplaceInResponse("wss://", "wss+insecure://");
  31.             oSession.utilReplaceInResponse("MakIsCool442", "noobmaster69");
  32.             oSession.utilReplaceInResponse("Playlist_Wax_Duos", "Playlist_Creative_TDM_v1");
  33.         }
  34.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top