开发者

Cookie file for Google Chrome / unix

开发者 https://www.devze.com 2022-12-13 16:12 出处:网络
Where does Chrome st开发者_高级运维ore its cookie file on a unix system?~/.config/google-chrome/Default/Cookiesfwiw, that file is a SqLite database...

Where does Chrome st开发者_高级运维ore its cookie file on a unix system?


~/.config/google-chrome/Default/Cookies


fwiw, that file is a SqLite database...

$ file ~/.config/google-chrome/Default/Cookies 
~/.config/google-chrome/Default/Cookies: SQLite 3.x database

$ sqlite -version
2.8.17

...good luck...


You can use Sqlite Browser with graphic interface.

sudo apt-get install sqlitebrowser

Open the cookie file with Sqlite Browser. You may find the cookie file belongs to a hidden folder so hard to select it by mouse, just provide the full path of your cookie file when open:

/home/your_name/.config/google-chrome/Default/Cookies

Once you open Sqlite Browser and open the database file you will see two tables: (1) cookies and (2) meta;

You can execute a SQL command, e.g.

SELECT * FROM cookies WHERE host_key = ".example.com";
0

精彩评论

暂无评论...
验证码 换一张
取 消