Created
June 24, 2015 20:59
-
-
Save charmander/ef56c3fee5d4408048da 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
bits 64 | |
section .data | |
target db "libc-2.21.so", 0 | |
linkpath db "libc.so.6", 0 | |
section .code | |
global _start | |
_start: | |
mov rax, 88 | |
mov rdi, target | |
mov rsi, linkpath | |
syscall | |
mov rax, 60 | |
mov rdi, 0 | |
syscall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment