Skip to content

Instantly share code, notes, and snippets.

@CreateRemoteThread
Created April 3, 2016 00:38
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 CreateRemoteThread/014dab5b9f2405e76685802d4ed00e50 to your computer and use it in GitHub Desktop.
Save CreateRemoteThread/014dab5b9f2405e76685802d4ed00e50 to your computer and use it in GitHub Desktop.
.586p
.model flat,stdcall
option casemap:none
include /masm32/include/kernel32.inc
include /masm32/include/windows.inc
includelib /masm32/lib/kernel32.lib
.data
in_char dd 0
; _=5f
; ? ? ?
;
; Did_you_like_signals?
.code
_start:
push 1
push 2
int 3
xor eax,eax
push eax
add esp, 4
pop eax
add eax,4
push eax
sub esp, 4
pop eax
int 3
int 3
invoke ExitProcess,0
end _start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment