【工作经历:阿里巴巴搜索技术研发中心QA ,百度新产品测试部QA】 【领域:测试分析,自动化测试,性能测试,安全测试 】 【个人定位:高级测试工程师+培训师+领域产品专家】

blog异常

上一篇 / 下一篇  2009-02-20 13:11:24 / 个人分类:安全测试

今天意外的碰到了这个blog系统的错误,提示信息如下。
竟然把sql给爆出来了。有意思。

mysql经常会出现这类错误信息。最好是关掉为好。暴露了sql语句,容易让别人钻空子的。


SupeSite info
: MySQL Query Error

User: sihanjishu
Time: 2009-2-20 1:10pm
Script: /index.php

SQL: SELECT profile_1, profile_2, profile_3, profile_4, profile_5, profile_6, profile_7, profile_8, profile_9, profile_10, profile_11, profile_12, profile_13, profile_14, profile_15, profile_16, profile_17, profile_18, profile_19, profile_20, profile_21, profile_22, profile_23, profile_24, profile_25, profile_26, profile_27, profile_28, profile_29 FROM [Table]userfields WHERE uid='159438'
Error: Unknown column 'profile_1' in 'field list'
Errno.: 1054




TAG:

 

评分:0

我来说两句

Open Toolbar