aboutsummaryrefslogtreecommitdiff
path: root/shellcode/hello_x64.asm
diff options
context:
space:
mode:
Diffstat (limited to 'shellcode/hello_x64.asm')
-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: