Cookie Vault v2: Netscape cookies.txt importer + one-click selenium login

This commit is contained in:
2026-09-25 07:08:49 -07:00
commit e6181d891a
3 changed files with 328 additions and 0 deletions

30
README.md Normal file
View File

@@ -0,0 +1,30 @@
# 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