Update PostgreSQL Injection.md

This commit is contained in:
Swissky 2021-01-24 18:43:58 +01:00 committed by GitHub
parent cd6f5493b3
commit 4e17d6c2b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@ SELECT usename FROM pg_user WHERE usesuper IS TRUE
SELECT usename, usecreatedb, usesuper, usecatupd FROM pg_user SELECT usename, usecreatedb, usesuper, usecatupd FROM pg_user
``` ```
## PostgreSQL Check if Current User is Supperuser ## PostgreSQL Check if Current User is Superuser
```sql ```sql
SHOW is_superuser; SHOW is_superuser;