Hacker News new | ask | show | jobs
by thrdbndndn 1182 days ago
Feel like you can just read Chrome's cookie from the file (and filter out the ones you need by site, of course) so you don't need to bother run chrome in debugging mode?

Like https://github.com/borisbabic/browser_cookie3

3 comments

Thanks for the link. I know yt-dlp does, but from your link I found another library (https://github.com/n8henrie/pycookiecheat) that can do that and it seems more popular than browser_cookie3. (browser_cookie3 works totally fine last time I tried).
This is awesome. I did not know decrypting chrome's password db is still that easy.
Cookies != Passwords..

But anyway... You know this is also easily accessible within DevTools, yah? https://umaar.com/dev-tips/3-copy-as-curl/

One could argue that cookies need to be more securely stored than passwords, because they can allow an attacker to bypass passwords and all other authentication factors.
Password DB in basic-store uses the key 'peanut'.
Why is the shebang `#!python` instead of `#!/usr/bin/env python`?