CacheCopiator is a toolkit to record and restore web sessions using Chrome. It saves cookies, localStorage
, and sessionStorage
into a .json
file and allows you to replay that session at any time.
No Python installation required β compiled Windows binaries are included!
- π₯ Record session data from any URL (cookies + storage)
- π€ Replay session later using the same browser context
- π±οΈ CLI or Windows
.exe
support (no Python setup needed) - ποΈ Saves to a single JSON file
.
βββ bin/ # Precompiled Windows binaries
β βββ cachr.exe # Session recorder
β βββ sesp.exe # Session restorer
βββ cachr.py # Python source (optional)
βββ sesp.py # Python source (optional)
βββ README.md
1.Download the latest release (CacheCopiatorUtility.zip) and unzip it to any folder.
- Add to PATH (optional, for easy access)
To runcachr.exe
andsesp.exe
from any terminal window, you can add the bin folder to your system PATH:
- π§ How to do it (Windows):
- Press
Win + R
, typesysdm.cpl
, press Enter. - Go to Advanced β Environment Variables.
- Under System variables, find and select Path, then click Edit.
- Click
New
and paste the full path to the bin folder(e.g., C:\Users\YourName\CacheCopiatorUtility\bin)
. - Click OK to save.
Now you can run the tools directly from cmd or PowerShell:
cachr --url https://example.com --out session_example.json
sesp --url https://example.com --cache session_example.json
Install requirements:
pip install selenium webdriver-manager
Then:
python cachr.py --url https://example.com --out session_example.json
python sesp.py --url https://example.com --cache session_example.json
Each session is saved as a .json file like this:
{
"url": "https://example.com",
"cookies": [ ... ],
"localStorage": { ... },
"sessionStorage": { ... }
}
Session files may contain sensitive authentication tokens. Do not share them. Also in newest update I added incognito mode for pages that pop-up in process.
Pull requests and suggestions are welcome! Fork it and improve it.
MIT License
Made by Jjponvv