> For the complete documentation index, see [llms.txt](https://oscp.nstsec.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://oscp.nstsec.com/services-exploitation/5432-postgres.md).

# 5432 - Postgres

Connect to postgresql:

```bash
psql -h $targetip -p 5432 -U admin -W #password: admin
psql -h $targetip -p 5432 -U postgres -W #password: postgres
```
