2024-02-19 10:35:40 +00:00
|
|
|
bits 64
|
|
|
|
default rel
|
|
|
|
global _start
|
|
|
|
|
|
|
|
_start:
|
2024-02-19 15:49:40 +00:00
|
|
|
push rax
|
|
|
|
push rdi
|
|
|
|
push rsi
|
|
|
|
push rdx
|
|
|
|
push rbx
|
2024-02-21 12:13:17 +00:00
|
|
|
|
2024-02-19 10:35:40 +00:00
|
|
|
xor eax, eax
|
|
|
|
cdq
|
2024-02-19 15:49:40 +00:00
|
|
|
mov dl, 10
|
2024-02-19 10:35:40 +00:00
|
|
|
inc eax
|
2024-02-19 15:49:40 +00:00
|
|
|
mov edi, eax
|
|
|
|
lea rsi, [rel msg]
|
|
|
|
syscall
|
|
|
|
pop rbx
|
|
|
|
pop rdx
|
|
|
|
pop rsi
|
|
|
|
pop rdi
|
|
|
|
pop rax
|
2024-02-21 12:13:17 +00:00
|
|
|
jmp 0x00000000
|
2024-02-19 15:49:40 +00:00
|
|
|
|
2024-02-19 10:35:40 +00:00
|
|
|
msg db "..WOODY..",10
|
|
|
|
|
|
|
|
|