zoukankan      html  css  js  c++  java
  • 延时注入跨库注入

    思路:

     1 mysql> show databases;
     2 +--------------------+
     3 | Database           |
     4 +--------------------+
     5 | information_schema |
     6 | challenges         |
     7 | mysql              |
     8 | performance_schema |
     9 | phpmyadmin         |
    10 | ro1                |
    11 | security           |
    12 +--------------------+
    13 7 rows in set (0.01 sec)
    14 
    15 mysql> select * from information_schema;
    16 ERROR 1046 (3D000): No database selected
    17 mysql> use ro1;#随便用一个数据库
    18 Database changed
     1 +--------------+--------------------+----------------------------+------------------------+----------+
     2 | CATALOG_NAME | SCHEMA_NAME        | DEFAULT_CHARACTER_SET_NAME | DEFAULT_COLLATION_NAME | SQL_PATH |
     3 +--------------+--------------------+----------------------------+------------------------+----------+
     4 | def          | information_schema | utf8                       | utf8_general_ci        | NULL     |
     5 | def          | challenges         | gbk                        | gbk_chinese_ci         | NULL     |
     6 | def          | mysql              | latin1                     | latin1_swedish_ci      | NULL     |
     7 | def          | performance_schema | utf8                       | utf8_general_ci        | NULL     |
     8 | def          | phpmyadmin         | utf8                       | utf8_bin               | NULL     |
     9 | def          | ro1                | utf8                       | utf8_general_ci        | NULL     |
    10 | def          | security           | gbk                        | gbk_chinese_ci         | NULL     |
    11 +--------------+--------------------+----------------------------+------------------------+----------+
    12 7 rows in set (0.00 sec)
    13 
    14 mysql> select schema_name from information_schema.schemata limit 1,1;
    15 +-------------+
    16 | schema_name |
    17 +-------------+
    18 | challenges  |
    19 +-------------+
    20 1 row in set (0.00 sec)
  • 相关阅读:
    Spring+SpringMVC+MyBatis深入学习及搭建(一)——MyBatis的基础知识
    单例模式
    JVM的内存区域划分以及垃圾回收机制详解
    线上出现OutOfMemoryError的一次解决问题记录
    MYSQL针对于行多个字段转成多行的处理
    MYSQL 在insert时出现死锁的情况
    idea下载
    LTS用户文档
    HMS06. 编译构件相关
    HMS05. 与IDE使用相关的杂顶内容
  • 原文地址:https://www.cnblogs.com/nul1/p/8987604.html
Copyright © 2011-2022 走看看