1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-08 06:56:15 +01:00
GTFOBins.github.io/_gtfobins/csplit
Andrea Cardaci 58ece84e11 Fix csplit typo
Close #560.
2026-02-12 18:01:52 +01:00

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:
...