1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 06:31:33 +01:00
GTFOBins.github.io/_gtfobins/pandoc
2026-01-13 18:58:28 +01:00

31 lines
561 B
Plaintext

---
functions:
file-read:
- binary: false
code: |-
pandoc -t plain /path/to/input-file
contexts:
sudo:
suid:
unprivileged:
file-write:
- binary: false
code: |-
echo DATA | pandoc -t plain -o /path/to/output-file
contexts:
sudo:
suid:
unprivileged:
inherit:
- code: |-
echo '...' >/path/to/temp-file
pandoc -L /path/to/temp-file /dev/null
comment: |-
This allows to run Lua code (`...`).
contexts:
sudo:
suid:
unprivileged:
from: lua
...