6379 - Redis

Commands

Check connection

HELLO
PING
TIME

Login

with nc

nc -nv <ip> <port>
info    #check if authentication is required
auth <user> <pass>

with redis-cli

apt-get install redis-tools
redis-cli -h <ip> -p <port>    #no password
redis-cli -h <ip> -p <port> -a <pass>

Enumeration

Exploits

Run code with ExecuteCommand module

Requires access to writable folders on target's machine

Execute commands

after connecting to Redis with nc or redis-cli and loading the module

Read file

Webshell in site root

SSH key injection

Crontab edit

Last updated