Skip to content

Instantly share code, notes, and snippets.

@charmander
Created June 24, 2015 20:59
Show Gist options
  • Save charmander/ef56c3fee5d4408048da to your computer and use it in GitHub Desktop.
Save charmander/ef56c3fee5d4408048da to your computer and use it in GitHub Desktop.
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