rachpt / extract-chrome-cookies

Getting cookies by reading Chrome's cookie database on your computer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

extract-chrome-cookies

Getting cookies by reading Chrome's cookie database on your computer.

demo

Thanks to chrome-cookies-secure, this is the rust version of it, why implement it again with Rust?

  1. chrome-cookies-secure depends on the Node environment. If you want to use it in Go or Python, you must install Node first.
  2. 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 to vscode-sqlite.

Now, using Rust to turn it into an executable binary, we can call it from anywhere.

Install

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/lei4519/extract-chrome-cookies/main/scripts/install)"

Uninstall

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/lei4519/extract-chrome-cookies/main/scripts/uninstall)"

Use

extract-chrome-cookies https://google.com
  • For more details
extract-chrome-cookies -h

FAQ

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

About

Getting cookies by reading Chrome's cookie database on your computer.

License:MIT License


Languages

Language:Rust 87.5%Language:Shell 12.5%