From c156f48e5f777d08cb156b10c32e72306c74c3c7 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Wed, 2 Jan 2019 13:41:10 +0100 Subject: [PATCH] Fix SUID and document readelf --- _gtfobins/readelf.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/_gtfobins/readelf.md b/_gtfobins/readelf.md index 8d16f42..6053f08 100644 --- a/_gtfobins/readelf.md +++ b/_gtfobins/readelf.md @@ -1,7 +1,6 @@ --- description: | - Each line is corrupted by a prefix string and wrapped inside single quotes. - + Each line is corrupted by a prefix string and wrapped inside single quotes. Also consider that lines are actually parsed as `readelf` options thus some file contents may lead to unexpected results. functions: file-read: - code: | @@ -10,7 +9,7 @@ functions: suid: - code: | LFILE=file_to_read - readelf -a @$LFILE + ./readelf -a @$LFILE sudo: - code: | LFILE=file_to_read