Sqlilabs Less-26 Trick with spaces and comments with single quote

手工注入

  • 加quote报错,然后注释没效果,给出的提示看起来似乎是被过滤掉了,用之前手法闭合。然后发现and好像也被过滤了,继续双写试试,但是结果好像空格也被过滤了。。。用了各种编码都不行后,查了资料发现用%a0或者%0b替代(%a0好像是不间断空格,会在html显示成?,%0b到是16进制的ascii编码,代表垂直tab。。。)
    Sqlilabs Less-26-26a Trick with spaces and comments
  • 其余的就好办了,只是在用联合查询注入的时候,让页面报错,选择了让id变大,就没有在前面加上and1=2,或者id=-1这样的了,因为-1不生效,感觉是-也被过滤了。
    Sqlilabs Less-26-26a Trick with spaces and comments

函数分析


Sqlilabs Less-26a Trick with spaces and comments with single quote parenthesis

手工注入

  • 感觉没什么区别,除了没报错了,就是多了个括号。
    Sqlilabs Less-26-26a Trick with spaces and comments

函数分析

相关文章: