NENote of Exploiting


[SC] hello.s : 2006-11-14


.globl main

main:
    jmp    ONE

TWO:
    popl   %ecx
    xorl   %eax,    %eax
    xorl   %ebx,    %ebx
    xorl   %edx,    %edx
    mov    $0x4,    %al
    mov    $0x1,    %bl
    mov    $0xd,    %dl
    int    $0x80
    xorl   %eax,    %eax
    movl   %eax,    %ebx
    xorl   %ebx,    %ebx
    inc    %eax
    int    $0x80

ONE:
    call TWO
    .string "Hello world!\n"

Copyleft (C) 2007 Len. All Rights Not Reserved.