From d9d090445115372ac058c8a837f8af6304bbf39a Mon Sep 17 00:00:00 2001 From: Dov Murik Date: Tue, 12 Jun 2018 14:10:38 +0000 Subject: [PATCH] Add jq --- _gtfobins/jq.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 _gtfobins/jq.md diff --git a/_gtfobins/jq.md b/_gtfobins/jq.md new file mode 100644 index 0000000..cc22b9c --- /dev/null +++ b/_gtfobins/jq.md @@ -0,0 +1,15 @@ +--- +functions: + sudo-enabled: + - code: | + LFILE=file_to_read + sudo jq -Rr . "$LFILE" + suid-enabled: + - code: | + LFILE=file_to_read + ./jq -Rr . "$LFILE" + file-read: + - code: | + LFILE=file_to_read + jq -Rr . "$LFILE" +---