fix: bunch of improvements and typos in the walkthrough

This commit is contained in:
0x35c
2025-05-07 14:04:04 +02:00
parent ca011b34f4
commit fb1ba7aee8
11 changed files with 35 additions and 24 deletions

View File

@ -14,4 +14,4 @@ Since we cannot pass arguments to printf directly, we need to specify the positi
Finally, we print the 16930112 bytes (+ 4 bytes for the address have already been printed) so that `m == 16930116`.
Unfortunately, unlike the previous level, we cannot print all the bytes directly in the buffer. For this, we will use printf's padding feature to print the right number of bytes.
Here is the command:
`(python -c 'print "\x10\x98\x04\x08" + "%16930112p" + "%12$n"'; cat) | ./level4`
`(python -c 'print "\x10\x98\x04\x08" + "%16930112p" + "%12$n"') | ./level4`