wgpsec/aboutsecurity/postgresql-attack
PostgreSQL 渗透测试与利用。当发现目标开放 5432 端口、PostgreSQL 允许远程连接、需要从数据库提取数据或实现命令执行时使用。覆盖未授权访问、数据库枚举与导出、用户凭据提取(pg_authid 哈希)、SQL 注入变体、文件读取(pg_read_file/COPY)、命令执行(COPY TO PROGRAM)、权限提升(SUPERUSER)、Large Object 滥用、扩展利用(file_fdw/plpython)
Agent skill · version 0.0.0-master.1794415688.gc0d3a46 · from wgpsec/AboutSecurity
Install
npx yarkr-cli add skill:wgpsec/aboutsecurity/postgresql-attackWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:wgpsec/aboutsecurity/postgresql-attack
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:wgpsec/aboutsecurity/postgresql-attackOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:wgpsec/aboutsecurity/postgresql-attackWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.