4 ms·
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 debugg
by thrdbndndn 4y 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 https://github.com/borisbabic/browser_cookie3
- toomuchtodo 4y agoyt-dlp does this also. https://news.ycombinator.com/item?id=28320666 https://news.ycombinator.com/item?id=28320666
- thrdbndndn 4y agoThanks for the link. I know yt-dlp does, but from your link I found another library (https://github.com/n8henrie/pycookiecheat 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).
- fipso 4y agoThis is awesome. I did not know decrypting chrome's password db is still that easy.
- paulirish 4y agoCookies != Passwords.. But anyway... You know this is also easily accessible within DevTools, yah? https://umaar.com/dev-tips/3-copy-as-curl/ https://umaar.com/dev-tips/3-copy-as-curl/
- eurasiantiger 4y agoOne 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.
- djbusby 4y agoPassword DB in basic-store uses the key 'peanut'.
- herpderperator 4y agoWhy is the shebang `#!python` instead of `#!/usr/bin/env python`?