CookieGhost is a cross-browser Chromium cookie extractor for educational and forensic use. It safely copies browser cookies from Chrome, Brave, Edge, Opera, and Opera GX, then relaunches the browser to avoid user disruption. All cookies are exported in Firefox-compatible .txt format.
⚠️ For ethical use only. Intended for cybersecurity research, red team exercises, and educational labs with explicit user consent.
- Extracts cookies from multiple Chromium-based browsers
- Uses Chrome DevTools Protocol (CDP) to fetch cookies silently
- Uses a temporary SQLite copy to avoid file lock issues
- Exports in Firefox-compatible format for easy import
- Auto-detects installed browsers and profile directories
- Headless, sandboxed relaunch to retrieve data post-termination
- Built-in session cleanup and auto-restore logic
- Modular design for easy extension
- Google Chrome
- Brave Browser
- Microsoft Edge
- Opera
- Opera GX
Java 11 or newer is required.
- Clone the project
- Build the fat JAR:
./gradlew shadowJar
- Run it:
java -jar build/libs/CookieGhost-1.0.jar
-
Process Kill
Target browser processes (likechrome.exe) are force-closed to avoid locked DB access. -
Cookie Backup
The SQLiteCookiesdatabase is copied to a temporary file. -
CDP Launch
The browser is restarted with--remote-debugging-port, in headless and sandbox-disabled mode. -
Cookie Fetching
Via WebSocket and Chrome DevTools Protocol, cookies are dumped from memory. -
Firefox Export
Output is formatted for compatibility with Firefox-style.txtimporters. -
Cleanup
Temp files are deleted and the original browser is relaunched (optional).
This software is intended for ethical use only.
Using CookieGhost on machines you do not own, or without user consent, may violate:
- Computer Fraud and Abuse Act (CFAA)
- GDPR, CCPA, and other privacy laws
- Terms of service of software platforms
The developers take no responsibility for unauthorized or malicious use.
If you find this project useful, consider supporting it:
Bitcoin (BTC): bc1pdf6xeaqm5t3k3pnth30cprtgs2x94dk9kvqludsaq6n9594akhzq4l3el8
Me, Myself and I.