Database Network Attack

PostgreSQL – 5432 – TCP

Login into postgres -U user-h host-d database \l      – list databases\c  [DataNase Name]    – connect to database\dt   – list datatables\q   – quit/exit program\du  – list users List of roles Role name Attributes postgres Superuser, Create role, Create DB, Replication, Bypass RLS webapp Superuser SELECT current_setting(‘is_superuser’); Auth Trust Open the file […]