; ; ; Print "B!n@ry Sh3ll C0d3" in Linux Assembly Language ; Assembler used: NASM ; ; ; Back2Track, as I always say: Linux rul3z ... ; Binary@linuxac.org ; ; HOWTO USE: ; ; (1) nasm -f elf binary.asm ; (2) ld -s -o binary binary.o ; (3) ./binary ; section .text global _start ; Linker Declaration (ld) _start: ; Linker Entry Point mov edx,len ; msg length mov ecx,msg ; msg to write mov ebx,1 ; File Descriptor (stdout) mov eax,4 ; System Call #4 = sys_write int 0x80 ; Call the Kernel mov eax,1 ; System Call #1 = sys_exit int 0x80 ; Call the Kernel section .data msg db 'B!n@ry Sh3ll C0d3',0xa ; msg = String to Print len equ $ - msg ; len = Length of msg ; EOF