Created
February 8, 2018 15:44
-
-
Save H4niz/2cd84e1ec0d30543671893bdc4269419 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
push offset aGiveMyYourShel ; "Give my your shellcode:" | |
call _printf | |
add esp, 10h | |
sub esp, 4 | |
push 0C8h | |
push offset shellcode | |
push 0 | |
call _read | |
add esp, 10h | |
mov eax, offset shellcode | |
call eax ; shellcode | |
mov eax, 0 | |
mov ecx, [ebp+var_4] | |
leave | |
lea esp, [ecx-4] | |
retn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment