1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 14:36:23 +01:00
GTFOBins.github.io/_gtfobins/rustdoc
2026-01-23 18:08:46 +01:00

23 lines
610 B
Plaintext

---
functions:
file-read:
- binary: false
code: |-
rustdoc /path/to/input-file
comment: |-
Partial content is displayed as error messages.
contexts:
sudo:
unprivileged:
file-write:
- binary: false
code: |-
echo '//! DATA' >/path/to/temp-file
rustdoc /path/to/temp-file -o /path/to/output-dir/
comment: |-
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.
contexts:
sudo:
unprivileged:
...