init
This commit is contained in:
18
x86_64/Example_Code/kill_noexit.asm
Normal file
18
x86_64/Example_Code/kill_noexit.asm
Normal file
@@ -0,0 +1,18 @@
|
||||
; shellcode-lab64bit
|
||||
; dash@hack4.org
|
||||
; don't execute that as root, as long as adjusted
|
||||
;
|
||||
|
||||
BITS 64
|
||||
global _start
|
||||
|
||||
_start:
|
||||
|
||||
xor rax, rax
|
||||
xor rdi, rdi
|
||||
xor rsi, rsi
|
||||
|
||||
mov dil, 1 ; you might not want to run that as root
|
||||
mov sil,9
|
||||
mov al, 62
|
||||
syscall
|
||||
Reference in New Issue
Block a user