Catalog GTFOBins

GTFO · Tool

rustdoc

4 techniques LinuxGTFOBins GPL-3.0

file-read

File ReadPrivilege Escalation Linux

Partial content is displayed as error messages.

rustdoc /path/to/input-file
Context
sudo
Native
file-read
MITRE
T1005

file-write

File WritePrivilege Escalation Linux

This command creates a number of documentation files in the target directory, and the data is written in multiple locations, e.g., `src/temp_file/temp-file.html`, amidst other content.

echo '//! DATA' >/path/to/temp-file
rustdoc /path/to/temp-file -o /path/to/output-dir/
Context
sudo
Native
file-write
MITRE
T1565

file-write

File Write Linux

This command creates a number of documentation files in the target directory, and the data is written in multiple locations, e.g., `src/temp_file/temp-file.html`, amidst other content.

echo '//! DATA' >/path/to/temp-file
rustdoc /path/to/temp-file -o /path/to/output-dir/
Context
unprivileged
Native
file-write
MITRE
T1565