From 31b69cfeed1a06a535201241af367a9b9c74aaa7 Mon Sep 17 00:00:00 2001 From: Nick Blekherman Date: Mon, 18 Jan 2021 09:46:51 +0200 Subject: [PATCH] Add SUID category to gawk as file read --- _gtfobins/gawk.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_gtfobins/gawk.md b/_gtfobins/gawk.md index bf63ca8..dc398a6 100644 --- a/_gtfobins/gawk.md +++ b/_gtfobins/gawk.md @@ -27,6 +27,10 @@ functions: - code: | LFILE=file_to_read gawk '//' "$LFILE" + suid: + - code: | + LFILE=file_to_read + ./gawk '//' "$LFILE" sudo: - code: sudo gawk 'BEGIN {system("/bin/sh")}' limited-suid: