SQL injection attack, listing the database contents on non-Oracle databases — Portswigg
这篇文章介绍了如何通过Union-based SQL注入攻击针对PostgreSQL数据库进行渗透测试。作者详细讲解了如何利用`information_schema.tables`和`information_schema.columns`枚举数据库表和列,并最终通过构造UNION查询获取了用户表中的敏感数据,包括用户名和密码。