From 0bca1562940f35147e01439eee7820b856dc96df Mon Sep 17 00:00:00 2001 From: Roman Mueller Date: Wed, 3 Oct 2018 09:57:51 +0200 Subject: [PATCH] Add grep --- _gtfobins/grep.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 _gtfobins/grep.md diff --git a/_gtfobins/grep.md b/_gtfobins/grep.md new file mode 100644 index 0000000..fe7532c --- /dev/null +++ b/_gtfobins/grep.md @@ -0,0 +1,15 @@ +--- +functions: + file-read: + - code: | + LFILE=file_to_read + grep '' $LFILE + suid-enabled: + - code: | + LFILE=file_to_read + ./grep '' $LFILE + sudo-enabled: + - code: | + LFILE=file_to_read + sudo grep '' $LFILE +---