mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-07 14:36:23 +01:00
Rationale being that: - it's easy to just forget it; - entries that only have the unprivileged context are quite rare.
22 lines
346 B
Plaintext
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:
|
|
...
|