Upload files to "/"

This commit is contained in:
pathetic 2025-05-12 23:01:59 +02:00
parent e2d498ecc4
commit 50c928f6f6
3 changed files with 76 additions and 0 deletions

16
syscalls.asm Normal file
View file

@ -0,0 +1,16 @@
global _start
global sys_write
extern main
section .text
sys_write:
mov rax, 1
syscall
ret
_start:
call main
mov rdi, rax
mov rax, 60
syscall