← Back to search

Connect to a Redis Server with redis-cli

enumerationtool

Summary

Connects to an exposed Redis instance (default port 6379) with redis-cli so you can enumerate keys and configuration.

Walkthrough

When you find an open Redis port (default 6379), connect with redis-cli to start enumerating. From there you can run commands like INFO, CONFIG GET *, and KEYS *.

Steps

  1. Point redis-cli at the target host with -h (add -p if Redis is on a non-default port).

``bash redis-cli -h <IP> ``

Commands

bash

redis-cli -h <IP>