From 75bdb5991d637aa4726ae1f03454b85d53ddb37f Mon Sep 17 00:00:00 2001 From: toni Date: Tue, 14 Apr 2015 09:02:26 +0200 Subject: hello_world x64 --- shellcode/hello_x64.asm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 shellcode/hello_x64.asm (limited to 'shellcode') diff --git a/shellcode/hello_x64.asm b/shellcode/hello_x64.asm new file mode 100644 index 0000000..0d3b5e0 --- /dev/null +++ b/shellcode/hello_x64.asm @@ -0,0 +1,16 @@ +BITS 64 + +call get_string +got_string: +pop rsi +xor rax,rax +xor rdx,rdx +mov byte al,0x1 +mov byte dl,0x7 +syscall +jmp short done + +get_string: +jmp short got_string +db 'blablubb' +done: -- cgit v1.2.3