From 5102eccdfcc0a99fdc5d71b19b7685522fbf4772 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Sun, 20 Dec 2020 20:13:01 +0100 Subject: [PATCH] Fix psql shell path and remove suid --- _gtfobins/psql.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/_gtfobins/psql.md b/_gtfobins/psql.md index ae7b794..40ca33f 100644 --- a/_gtfobins/psql.md +++ b/_gtfobins/psql.md @@ -1,18 +1,14 @@ --- +description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. functions: shell: - code: | psql \? - !sh - suid: - - code: | - psql - \? - !sh -p + !/bin/sh sudo: - code: | psql \? - !sh + !/bin/sh ---