PostgreSQL Port (5432, 5433)

How to connect

psql -U <myuser> # Open psql console with user
psql -h <host> -U <username> -d <database> # Remote connection
psql -h <host> -p <port> -U <username> -W <password> <database> # Remote connection

Enumeration

List all databases

\l

Switch to a database

\c <database_name>

List tables in the current database:

\dt

Extract data from a specific table:

SELECT * FROM <table_name>;

Read File


List Directory


Reverse Shell WAF Bypass through SQLI

Última actualización

¿Te fue útil?