view 5pEV4X5h @ 10907:d55cb6936714

<izabera> ` echo -n >izash.c \'char s[99],*p[9],**q;main(){for(;q=p,*q++=strtok(gets(s)," ");fork()||execvp(*p,p),wait(0))for(;*q++=strtok(0," "););}\'
author HackBot
date Thu, 18 May 2017 14:12:28 +0000
parents e7d860aee142
children
line wrap: on
line source

section     .text
global      _start                              

_start:                                         

    mov     edx,len                            
    mov     ecx,msg                             
    mov     ebx,1                               
    mov     eax,4                               
    int     0x80                                

    mov     eax,1                               
    int     0x80                                

section     .data

msg     db  'Assembly is a land of segmentation faults and insanity',0xa ;the entry
len     equ $ - msg