Files
shellcode/x86_64/Example_Code/push_mov.asm
Daniel Ashton cc0cee84ff init
2016-05-30 09:06:47 +02:00

15 lines
316 B
NASM

; shellcode-lab64
; dash@hack4.org
; push example and 8byte fun on 64bit architecture
; use mov to bring up your 8byte value on the stack
;
BITS 64
global _start
_start:
xor rax, rax ; clear register
mov rax, 0x4142434445464748 ; place 8byte in register rax
push rax ; push it onto the stack