1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 22:46:19 +01:00
GTFOBins.github.io/_gtfobins/redis
2026-01-13 18:58:28 +01:00

22 lines
507 B
Plaintext

---
functions:
file-write:
- binary: false
code: |-
redis-cli -h 127.0.0.1
config set dir /path/to/output-dir/
config set dbfilename output-file
set x "DATA"
save
comment: |-
Write files on the server running Redis at the specified location. Written data will appear amongst the database dump.
Keep in mind that it's actually the server to perform the file write.
contexts:
sudo:
suid:
unprivileged:
version: |-
< 7
...