Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/