来源:自学PHP网 时间:2015-04-17 13:03 作者: 阅读:次
[导读] 1. user_reg.asp#39;注册case user_reg_do user_name = trim(request.form(user_name)) user_pass = trim(request.form(user_pass)) user_pass_again = trim(request.form(user_pass_again)......
1. user_reg.asp '注册 case "user_reg_do"
user_name = trim(request.form("user_name")) user_pass = trim(request.form("user_pass")) user_pass_again = trim(request.form("user_pass_again")) user_mail = trim(request.form("user_mail")) user_pass_question = trim(request.form("user_pass_question")) user_pass_answer = trim(request.form("user_pass_answer")) user_sex = trim(request.form("user_sex")) user_www = trim(request.form("user_www")) user_sign = trim(request.form("user_sign")) user_face = trim(request.form("user_face")) user_qq = trim(request.form("user_qq")) user_msn = trim(request.form("user_msn")) %> 简单过滤空格 if instr(user_name," ") > 0 or instr(user_name,"#") > 0 or instr(user_name,"`") > 0 or instr(user_name,"|") > 0 or instr(user_name," ") > 0 or instr(user_name," ") > 0 or Instr(user_name,"%") > 0 or Instr(user_name,"&") > 0 or Instr(user_name,"ヴ") > 0 or Instr(user_name,"ヂ") > 0 or Instr(user_name,"ゼ") > 0 or Instr(user_name,"ヅ") > 0 or Instr(user_name," ") > 0 or Instr(user_name,"+") > 0 or Instr(user_name,"=") > 0 or Instr(user_name,"'") > 0 then session("message") = "<li>用户名中不能含有特殊符号</li>" session("message") = session("message") & "<li><a href=""javascript:history.back();"">返回</a></li>" 没有检测;分号 可以注册duos.asp;1的账户 有个特性是注册会员上传的头像是根据自己名字来保存图片 注册duos.asp;1的账户==》上传脚本.jpg==》自动保存为duos.asp;1.jpg (这点可以利用IIS6.0的解析漏洞)
2. XSS很多。 这个对论坛影响较大
来源:http://www.t00ls.net/thread-19635-1-1.html |
自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习
京ICP备14009008号-1@版权所有www.zixuephp.com
网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com