From 5aee2ec17e4364119f71b1a34c451853d107b15e Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Wed, 30 May 2018 19:20:43 +0200 Subject: [PATCH] Add cat --- _gtfobins/cat.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 _gtfobins/cat.md diff --git a/_gtfobins/cat.md b/_gtfobins/cat.md new file mode 100644 index 0000000..da1e242 --- /dev/null +++ b/_gtfobins/cat.md @@ -0,0 +1,15 @@ +--- +functions: + sudo-enabled: + - code: | + LFILE=file_to_read + sudo cat "$LFILE" + suid-enabled: + - code: | + LFILE=file_to_read + ./cat "$LFILE" + file-read: + - code: | + LFILE=file_to_read + cat "$LFILE" +---