mirror of
https://github.com/HackTricks-wiki/hacktricks.git
synced 2025-10-10 18:36:50 +00:00
32 lines
1023 B
Markdown
32 lines
1023 B
Markdown
# NodeJS Express
|
||
|
||
{{#include ../../banners/hacktricks-training.md}}
|
||
|
||
## Cookie İmzası
|
||
|
||
The tool [https://github.com/DigitalInterruption/cookie-monster](https://github.com/DigitalInterruption/cookie-monster) Express.js çerez gizli anahtarlarının test edilmesi ve yeniden imzalanması için otomatikleştirilmiş bir yardımcı programdır.
|
||
|
||
### Belirli bir adı olan tek çerez
|
||
```bash
|
||
cookie-monster -c eyJmb28iOiJiYXIifQ== -s LVMVxSNPdU_G8S3mkjlShUD78s4 -n session
|
||
```
|
||
### Özel kelime listesi
|
||
```bash
|
||
cookie-monster -c eyJmb28iOiJiYXIifQ== -s LVMVxSNPdU_G8S3mkjlShUD78s4 -w custom.lst
|
||
```
|
||
### Birden fazla çerezi toplu modda test etme
|
||
```bash
|
||
cookie-monster -b -f cookies.json
|
||
```
|
||
### Özel bir kelime listesi ile toplu modda birden fazla çerezi test et
|
||
```bash
|
||
cookie-monster -b -f cookies.json -w custom.lst
|
||
```
|
||
### Encode and sign a new cookie
|
||
|
||
Eğer sırrı biliyorsanız, çerezi imzalayabilirsiniz.
|
||
```bash
|
||
cookie-monster -e -f new_cookie.json -k secret
|
||
```
|
||
{{#include ../../banners/hacktricks-training.md}}
|