« GRITZ Home | Email msg. | Reply to msg. | Post new | Board info. Previous | Home | Next

Cookies

By: De_Composed in GRITZ | Recommend this post (0)
Sun, 17 Aug 25 3:56 PM | 32 view(s)
Boardmark this board | Grits Breakfast of Champeens!
Msg. 11724 of 12339
Jump:
Jump to board:
Jump to msg. #

Did you know that for most modern browsers, cookies are not files? They're just entries in a database typically found at %LocalAppData%\Google\Chrome\User Data\Default\Network\Cookies for Chromium-based browsers and %LocalAppData%\Microsoft\Edge\User Data\Default\Network\Cookies for Edge. You can actually review and delete them manually, but you'd need to have your browsers shut down at the time or they'd just come right back. Browsers store them in a cache when they run.

The table structure for Chrome browsers is:


CREATE TABLE cookies (
creation_utc INTEGER NOT NULL,
host_key TEXT NOT NULL,
name TEXT NOT NULL,
value TEXT NOT NULL,
encrypted_value BLOB NOT NULL,
path TEXT NOT NULL,
expires_utc INTEGER NOT NULL,
is_secure INTEGER NOT NULL,
is_httponly INTEGER NOT NULL,
last_access_utc INTEGER NOT NULL,
has_expires INTEGER NOT NULL DEFAULT 1,
is_persistent INTEGER NOT NULL DEFAULT 1,
priority INTEGER NOT NULL DEFAULT 1,
samesite INTEGER NOT NULL DEFAULT -1,
source_scheme INTEGER NOT NULL DEFAULT 0,
source_port INTEGER NOT NULL DEFAULT -1,
is_same_party INTEGER NOT NULL DEFAULT 0
);

I'd show you the content but it wouldn't do you much good since most of it is encrypted. HOWEVER, python scripts for decrypting it are available if you guys are interested.. Let me know or ask Grok.

My interest in this today came about from noticing that my cookie summary report says that I have 163 cookies, but CCleaner tells me I have 62. It turns out that some cookies are excluded by CCleaner when it does its cleanup. That makes sense - CCleaner does not act on cookies that are already marked for deletion. In other cases it's just self-serving: CCleaner's own cookies are in the cookies database and I have a feeling that it doesn't want you deleting those.


- - - - -
View Replies (1) »



» You can also:
« GRITZ Home | Email msg. | Reply to msg. | Post new | Board info. Previous | Home | Next