News
NOP Slide for Shellcode
Written on 09.01.2018 14:04 by Ben Stock
Since there was bit of confusion and some errors, let me give you a hint for the exercise: The shellcode which we provided contains several pushes. That means that if you add a NOP sled (not necessary in this case due to the exact address being known) *before* the shellcode, the pushes in the shellcode may overwrite some of the instructions of the shellcode itself.
Hence, either add padding *after* the shellcode and before the return address or place the whole shellcode *after* the return address (accounting for the change in address to jump to).