1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +02:00
GTFOBins.github.io/_gtfobins/redis.md
Mark Davison d1d30414fe
Adding Redis file write
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
2023-02-11 20:29:37 +01:00

456 B

description functions
This works with versions lower than 7.
file-write
description code
Write files on the server running Redis at the specified location. Written data will appear amongst the database dump, thus it might not be suitable for all kind of purposes. IP=127.0.0.1 redis-cli -h $IP config set dir dir_to_write_to config set dbfilename file_to_write set x "DATA" save