Getting cookies by reading Chrome's cookie database on your computer.
Thanks to chrome-cookies-secure, this is the rust version of it, why implement it again with Rust?
- chrome-cookies-secure depends on the Node environment. If you want to use it in Go or Python, you must install Node first.
- Even in the node environment, it doesn't work all the time. For example, when writing vscode extension, the
sqlite
dependency is not supported in vscode, so I had to fork the repo and change the dependency tovscode-sqlite
.
Now, using Rust to turn it into an executable binary, we can call it from anywhere.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/lei4519/extract-chrome-cookies/main/scripts/install)"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/lei4519/extract-chrome-cookies/main/scripts/uninstall)"
extract-chrome-cookies https://google.com
- For more details
extract-chrome-cookies -h
Q: Why not supported windows?
A: I can't find a Rust API equivalent to JS, and my knowledge of encryption/decryption is pretty poor. If you have the ability to implement them, you are welcome to submit the Pull Request