Skip to main content

NASM Short Jump

·1 min

During exploit development sometimes we need to perform a short jump, we can use nasm_shell from msf to demonstrate.

Lets say we want to jump 12 (0xc) bytes, we first need to open the nasm_shell with following command below

msf-nasm_shell

You type the follow command:

nasm > jmp short 12
00000000  EB0A              jmp short 0xc

I hope that helps 😉