查询你的数据库有没有被木马注入的可能!

摘要: 大家平时在使用mssql的时候,有没有注意自己的数据库有没有被木马注入的可能呢请使用以下代码,这个是查询所有字符字段的sql语句:DECLARE @T varchar(255), @C varchar(255) DECLARE Table_Cursor CURSOR FOR Select a.name,b.name from sysobjects a,syscolumns b where a.id=b.id and a.xtype= 'u ' and (b.xtype=99 or b.xtype=35 or b.xtype=231 or b.xtype=167) OPEN Ta 阅读全文
posted @ 2013-02-04 10:59 ~紫鱼~ 阅读(1381) 评论(0) 推荐(0)

MVC6个常用路由设置,记录下

摘要: 大家在学习MVC的过程,老是用到设置路由,但有6个常用路由,是大家经常用到的。一.默认路由(MVC自带)public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( "Default", // 路由名称 "{controller}/{action}/{id}", // 带有参数的 URL new { controller = "Home 阅读全文
posted @ 2013-02-04 09:44 ~紫鱼~ 阅读(10556) 评论(3) 推荐(4)