From 069e7da89d5eb7d049ba191c1be19ff76ec758a9 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Mon, 4 Jun 2018 13:01:44 +0200 Subject: [PATCH] Add sudo and suid to od --- _gtfobins/od.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/_gtfobins/od.md b/_gtfobins/od.md index ac348a0..4cf623b 100644 --- a/_gtfobins/od.md +++ b/_gtfobins/od.md @@ -3,6 +3,14 @@ description: | Three spaces are added before each character in the read file, and non-printable chars are printed as backslash escape sequences. functions: + sudo-enabled: + - code: | + LFILE=file_to_read + sudo od -An -c -w9999 "$LFILE" + suid-enabled: + - code: | + LFILE=file_to_read + ./od -An -c -w9999 "$LFILE" file-read: - code: | LFILE=file_to_read