aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoni <toni@devlap.local>2015-04-14 09:02:26 +0200
committertoni <toni@devlap.local>2015-04-14 09:02:26 +0200
commit75bdb5991d637aa4726ae1f03454b85d53ddb37f (patch)
tree9bb64c3375f7a7d5c2f954db3332b10b43415085
parent157c90b7d27b82a779de17cbbb71336999009e27 (diff)
hello_world x64
-rw-r--r--shellcode/hello_x64.asm16
1 files changed, 16 insertions, 0 deletions
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: