31 lines
1.3 KiB
Markdown
31 lines
1.3 KiB
Markdown
# COOKIE VAULT
|
|
|
|
Netscape `cookies.txt` bulk importer + one-click login launcher. Runs on Windows (Commando VM601), Flask + SQLite, port 5066.
|
|
|
|
## Features
|
|
- Drag-drop / folder-scan / paste import of hundreds of cookies.txt files
|
|
- `#HttpOnly_` line handling, tab or space separated, junk-tolerant parser
|
|
- One-click LOGIN: launches Chrome (selenium) with that domain's cookies injected into a persistent per-domain profile
|
|
- Search by domain or cookie name
|
|
- Export as JSON (browser-extension format) or Netscape .txt
|
|
- Idempotent imports (UNIQUE per domain+path+name+source_file)
|
|
|
|
## Deploy (Windows)
|
|
```
|
|
pip install flask selenium
|
|
C:\cookievault\app.py # the app
|
|
C:\cookievault\incoming\ # dump cookies.txt here, hit RESCAN
|
|
C:\cookievault\sessions\ # chrome profiles (auto-created)
|
|
```
|
|
Autostart: HKLM `...\CurrentVersion\Run` key `CookieVault` -> `C:\cookievault\start_cookievault.bat`
|
|
|
|
## Use
|
|
Open http://<host>:5066 — drag files in, click IMPORT. Click LOGIN next to a domain to open a pre-authenticated Chrome on the host desktop.
|
|
|
|
## Endpoints
|
|
- `POST /import` (multipart files=, or form paste=)
|
|
- `POST /scan` — rescan incoming folder
|
|
- `GET /open?domain=X` — launch logged-in Chrome for X
|
|
- `GET /export?q=` — JSON export
|
|
- `GET /export_netscape?q=` — Netscape export
|