网站地图
新开私服
57私服首页 网游私服外挂 今日传奇3私服 今日奇迹私服 新开传奇私服 最新私服IP

usezs.asp和top100.asp里面修改的内容


奇迹私服,传奇私服首页 作者:mu 发表时间:2004-4-8 9:51:20

【更多今日新开奇迹私服点这里查看...】

先声明 全部不是原创 呵呵 都是翻以前贴搞得
另外关于top100.asp的漏洞的补救 感谢斑竹field给我提供的解决方案
呵呵 不过他不会介意我共享的拉


usezs.asp 这个漏洞已经很多人知道了 我们这边一个网把的都会利用

解决办法

在这个asp里面找到

if instr(accountname,"")<>0 then response.end
if instr(accountname,"=")<>0 then response.end
if instr(accountname,"%")<>0 then response.end
if instr(accountname,"&")<>0 then response.end

后面添加

if instr(password,"")<>0 then response.end
if instr(password,"=")<>0 then response.end
if instr(password,"%")<>0 then response.end
if instr(password,"&")<>0 then response.end


完整的是

if instr(accountname,"")<>0 then response.end-----------------对账号的判断
if instr(accountname,"=")<>0 then response.end
if instr(accountname,"%")<>0 then response.end
if instr(accountname,"&")<>0 then response.end
if instr(password,"")<>0 then response.end---------------------------对密码的判断
if instr(password,"=")<>0 then response.end----------------------通常是没有对密码判断的
if instr(password,"%")<>0 then response.end
if instr(password,"&")<>0 then response.end


-----------------------------------------------------------
top100.asp的漏洞

漏洞是没有对job和sx的判断
在你的top100.asp前面加入

<%
set rs=server.createobject("adodb.recordset")
job=request("job")
sx=request("sx")
hk=0
if instr(job,"")<>0 then hk=1
if instr(job,"=")<>0 then hk=1
if instr(job,"%")<>0 then hk=1
if len(job)>2 then hk=1
if instr(sx,"")<>0 then hk=1
if instr(sx,"=")<>0 then hk=1
if instr(sx,"%")<>0 then hk=1
if len(sx)>9 then hk=1
if hk=1 then
response.write ""
response.end
end if
%>

ok了

相关新闻
[4-8] 在大陆北方商人那放3个天魔
[4-8] 修改物品在物品栏所占格子数
[4-8] 减少红名.黄名时间
[4-8] 关于怪物刷新率的改法
[4-8] 把红名关起来
[4-8] 双机安全负载MU 安全第1
[4-8] 傻瓜式改石头价格的方法

免责声明:57sf.com登载此文出于传递更多信息之目的,并不意味着57sf.com赞同其观点或证实其描述
 
 Copyright 2004 57sf.com Corporation. All Rights. 奇迹私服版权所有传奇私服 热血江湖私服