コード例 #1
0
        public static string proxy_sellect()
        {
            string result;

            for (; ;)
            {
                InManager.smethod_0();
                Colorful.Console.Write("[1]HTTP/[2]SOCKS4/[3]SOCKS5 : ", Color.DarkSlateBlue);
                Colorful.Console.ForegroundColor = Color.White;
                try
                {
                    string text = Colorful.Console.ReadKey().KeyChar.ToString();
                    Colorful.Console.WriteLine();
                    Colorful.Console.ResetColor();
                    if (!(text == "1") && !(text == "2") && !(text == "3"))
                    {
                        Colorful.Console.ForegroundColor = Color.Yellow;
                        Colorful.Console.WriteLine("[Error: Must be an integer between 1 and 3]");
                        Colorful.Console.ResetColor();
                        continue;
                    }
                    result = text;
                }
                catch
                {
                    Colorful.Console.ForegroundColor = Color.Yellow;
                    Colorful.Console.WriteLine("[Error: Must be an integer]");
                    Colorful.Console.ResetColor();
                    continue;
                }
                break;
            }
            return(result);
        }
コード例 #2
0
        // Takes User Input for thread Count;
        public static int thread_count()
        {
            int result;

            for (; ;)
            {
                InManager.smethod_0();
                Colorful.Console.Write("Threads amount : ", Color.DarkSlateBlue);
                Colorful.Console.ForegroundColor = Color.White;
                try
                {
                    int num = Convert.ToInt32(Colorful.Console.ReadLine());
                    Colorful.Console.ResetColor();
                    result = num;
                }
                catch
                {
                    Colorful.Console.ForegroundColor = Color.Yellow;
                    Colorful.Console.WriteLine("[Error: Must be an integer]");
                    Colorful.Console.ResetColor();
                    continue;
                }
                break;
            }
            return(result);
        }
コード例 #3
0
        static void Main(string[] args)
        {
            Colorful.Console.Title = "Disney+ Checker Cracked by [Dragon_God#7877]OVERHAX";
            LogoPrint.print();
            int    threads    = InManager.thread_count();
            string proxy_type = InManager.proxy_sellect();
            string combo_path = InManager.path_find("combo");

            ConcurrentQueue <string> concurrentQueue = new ConcurrentQueue <string>();

            if (!File.Exists(combo_path))
            {
                MessageBox.Show("Please Create a Combo file in the same folder as the checker");
                System.Environment.Exit(0);
            }
            else
            {
                using (FileStream fileStream = File.Open(combo_path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
                {
                    using (BufferedStream bufferedStream = new BufferedStream(fileStream))
                    {
                        using (StreamReader streamReader = new StreamReader(bufferedStream))
                        {
                            string text2;
                            while ((text2 = streamReader.ReadLine()) != null)
                            {
                                if (text2.Contains(":"))
                                {
                                    concurrentQueue.Enqueue(text2);
                                }
                            }
                        }
                    }
                }
            }
            List <string> list = new List <string>();

            if (proxy_type != "4")
            {
                if (!File.Exists(InManager.path_find("proxies")))
                {
                    MessageBox.Show("Please Create a Proxy file in the same folder as the checker.");
                    System.Environment.Exit(0);
                }
                else
                {
                    foreach (string item in File.ReadAllLines(InManager.path_find("proxies")))
                    {
                        list.Add(item);
                    }
                }
            }
            Colorful.Console.WriteLine();
            Colorful.Console.WriteLine();

            important @class = new important(concurrentQueue, list, combo_path);

            @class.method_0();
            class3.bool_0 = true;
            @class.method_6();
            @class.method_4();
            @class.method_3(threads);
        }