feat: task 2 for sheet6

This commit is contained in:
Unbreathable
2026-06-04 18:58:56 +02:00
parent 58553b688a
commit 4ff7e162ac
8 changed files with 14 additions and 1 deletions

1
sheet06/a2/stack-d.txt Normal file
View File

@@ -0,0 +1 @@
Since we now want to change toChange to a deterministic value, specifically 0x496e6974, I just used printf to generate the ASCII characters for this number and then passed it straight to the program with some extra stuff in front to make the buffer overflow. You just have to put the bytes in reverse order due to little endian and stuff.