Redis
Detect an exposed Redis instance and list its keys.
Redis commonly listens on 6379/TCP. Reachability alone does not establish access: authentication, ACLs and protected mode can reject a client’s commands.
Redis-cli
Detection
nmap -p 6379 --open <range_ip>Connection and key discovery
# Connect to the redis instance
redis-cli -h <ip>Inside the Redis console:
# Fetch one incremental batch of key names
redis> SCAN 0 COUNT 100Continue with the returned cursor until it is 0; COUNT is a hint, not a hard
limit. Avoid KEYS * on a large
production database: it can block the server. Key names do not establish access
to their values or command execution.
Provenance and confidence
- Version
- 2
- Sources reviewed
- 2026-11-23
- Confidence
- medium — Legacy RTFM; v2 editorial review on 2026-11-23 qualifies access controls and replaces KEYS with incremental SCAN. Redis command documentation consulted; no database test.
Also searched as: redis, redis-cli, clés redis, 6379/tcp, base clé-valeur