Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fastlorenzo/cloonie
Script to decrypt / import chromium (edge/chrome) cookies
https://github.com/fastlorenzo/cloonie
Last synced: about 1 month ago
JSON representation
Script to decrypt / import chromium (edge/chrome) cookies
- Host: GitHub
- URL: https://github.com/fastlorenzo/cloonie
- Owner: fastlorenzo
- License: mit
- Created: 2021-06-16T09:16:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-01T15:49:25.000Z (over 1 year ago)
- Last Synced: 2024-03-21T17:20:37.347Z (10 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 11
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cloonie
Script to decrypt / import chromium (edge/chrome) cookies.
## Requirements
Install the python dependencies via pip: `pip install -r requirements.txt`
## Usage
```
usage: cloonie.py [-h] [--infile ] [--inos ] [--inkey ] [--outos ] [--outfile ] [--outkey ] [--domain ] [--debug] [--output]Decrypt chrome|edge Cookies file and re-encrypt it with a different key
optional arguments:
-h, --help show this help message and exit
--infile Cookies input file
--inos Input file OS (windows|linux)
--inkey Input file key
--outos Output file OS (windows|linux)
--outfile Cookies output file
--outkey Output file key
--domain Cookies domain filter
--debug Enable debug output
--output Ouput cookie value
```## Examples
### Decrypt Windows Cookies only
`./cloonie.py --inkey --infile Cookies --output`
### Decrypt Windows Cookies and import them in chromium on Linux
`./cloonie.py --inkey --infile Cookies --output --outfile ~/.config/chromium/Default/Cookies`
### Decrypt Windows Cookies and import them in firefox on Linux
`./cloonie.py --inkey --infile Cookies --outfile ~/.mozilla/firefox//cookies.sqlite`
### Decrypt Windows Cookies and import them in chromium on Linux for a specific domain
`./cloonie.py --inkey --infile Cookies --output --outfile ~/.config/chromium/Default/Cookies --domain microsoft.com`
### Decrypt Windows Cookies and import them in firefox on Linux for a specific domain
`./cloonie.py --inkey --infile Cookies --output --outfile ~/.mozilla/firefox//cookies.sqlite --domain microsoft.com`
## Sources
Based on the awesome work of the following tools/scripts authors:
- https://gist.github.com/GramThanos/ff2c42bb961b68e7cc197d6685e06f10
- https://gist.github.com/DakuTree/428e5b737306937628f2944fbfdc4ffc
- https://github.com/crypt0p3g/bof-collection
- https://github.com/rxwx/chlonium
- https://gist.github.com/microo8/d0ecb52ec592971a466a3189287631c7
- https://n8henrie.com/2013/11/use-chromes-cookies-for-easier-downloading-with-python-requests/