pentest-distro-builder/filesystem/etc/skel/Templates/prog/assembly.asm

18 lines
239 B
NASM
Raw Normal View History

2018-10-17 14:11:16 -06:00
global _start
section .text
_start:
mov eax, 0x4
mov ebx, 0x1
mov ecx, message
mov edx, 0xF
int 0x80
mov eax, 0x1
mov ebx, 0x0
int 0x80
section .data
message: db "give me a bottle of rum!", 0dh, 0ah