mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-08 06:56:15 +01:00
22 lines
498 B
Plaintext
22 lines
498 B
Plaintext
---
|
|
functions:
|
|
file-read:
|
|
- code: |-
|
|
csplit /path/to/input-file 1
|
|
cat xx01
|
|
contexts:
|
|
sudo:
|
|
suid:
|
|
unprivileged:
|
|
file-write:
|
|
- code: |-
|
|
echo DATA >/path/to/temp-file
|
|
csplit -z -b '%doutput-file' /path/to/temp-file 1
|
|
comment: |-
|
|
Writes the data to `xx0output-file` in the current working directory. If needed, a different prefix can be specified with `-f` (instead of `xx`).
|
|
contexts:
|
|
sudo:
|
|
suid:
|
|
unprivileged:
|
|
...
|