CatalogGTFOBins

GTFO · Tool

tee

3 techniquesLinuxGTFOBinsGPL-3.0

file-write

File WritePrivilege EscalationLinux

Use `-a` to append data to exising files.

echo DATA | tee /path/to/output-file
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
sudo
Native
file-write
MITRE
T1565

file-write

File WritePrivilege EscalationLinux

Use `-a` to append data to exising files.

echo DATA | tee /path/to/output-file
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
suid
Native
file-write
MITRE
T1565

file-write

File WriteLinux

Use `-a` to append data to exising files.

echo DATA | tee /path/to/output-file
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
unprivileged
Native
file-write
MITRE
T1565