mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-07 14:36:23 +01:00
23 lines
610 B
Plaintext
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:
|
|
...
|