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/csh
Andrea Cardaci 450efe76d4 Make the contexts field mandatory
Rationale being that:

- it's easy to just forget it;

- entries that only have the unprivileged context are quite rare.
2026-01-13 19:53:07 +01:00

22 lines
346 B
Plaintext

---
functions:
file-write:
- code: |-
csh -c 'echo DATA >/path/to/output-file'
contexts:
sudo:
suid:
code: |-
csh -c 'echo DATA >/path/to/output-file' -b
unprivileged:
shell:
- code: |-
csh
contexts:
sudo:
suid:
code: |-
csh -b
unprivileged:
...