How berabuddies/redis-poc works
This repository is a collection of Redis proof-of-concept exploit clients for specific Redis and bundled RedisBloom versions. The operator selects a client, which connects to Redis and attempts a version-specific memory-corruption chain; successful runs execute the supplied trigger. The main branches cover stream consumer-group shared-NACK bugs and RedisBloom TDigest/TopK bugs. Shared helpers construct protocol and serialized payloads, while CRC-64 support enables valid RESTORE payloads. Edges reflect the README and shown imports/calls; several internal exploit stages are documented but not fully excerpted, so they are represented at the client level rather than as speculative components.
Main entry points: A_lib.py Stream Payload Helpers · A_exploit_stock.py Redis 6.2.22 Client · P74_exploit.py Redis 7.4.9 Client · P88W_exploit.py TDigest Exploit
Components 16
Stream NACK Exploits
- Redis 6.2.22 Client
A_exploit_stock.py - Arbitrary Read
G2_arbread.py - Redis 7.4.9 Client
P74_exploit.py - 7.4 Reclaim
P74_g2.py - Redis 8.6.4 Client
P86_exploit.py
RedisBloom Exploits
- TDigest Exploit
P88W_exploit.py - TDigest Corruption
P88W_corrupt.py - TDigest Helpers
P88W_lib.py - TopK Exploit
T88_exploit.py
Payload Helpers
- Stream Payload Helpers
A_lib.py
CRC Support
- CRC-64 Core
crc64.c - CRC Speed Routines
crcspeed.c - CRC Interfaces
crcspeed.h
Other components
- Operator
- Redis Target
- Command Result
Connections 22
- Operator → Redis 6.2.22 Client: runs client
README.md - Operator → Redis 7.4.9 Client: runs client
README.md - Operator → Redis 8.6.4 Client: runs client
README.md - Operator → TDigest Exploit: runs client
README.md - Operator → TopK Exploit: runs client
README.md - Redis 6.2.22 Client → Redis Target: sends commands
A_exploit_stock.py - Redis 7.4.9 Client → Redis Target: sends commands
P74_exploit.py - Redis 8.6.4 Client → Redis Target: sends commands
P86_exploit.py - TDigest Exploit → Redis Target: sends commands
P88W_exploit.py - TopK Exploit → Redis Target: sends commands
- Redis Target → Command Result: executes trigger
README.md - Redis 6.2.22 Client → Stream Payload Helpers: uses helpers
A_exploit_stock.py - Redis 6.2.22 Client → Arbitrary Read: calls read primitive
A_exploit_stock.py - Redis 7.4.9 Client → 7.4 Reclaim: uses reclaim
P74_exploit.py - Redis 7.4.9 Client → Stream Payload Helpers: uses helpers
P74_exploit.py - Redis 8.6.4 Client → Stream Payload Helpers: uses helpers
P86_exploit.py - TDigest Exploit → TDigest Corruption: uses corruption logic
P88W_exploit.py - TDigest Exploit → TDigest Helpers: uses payload helpers
P88W_exploit.py - TopK Exploit → Stream Payload Helpers: uses helpers
T88_exploit.py - Stream Payload Helpers → CRC-64 Core: computes payload CRC
README.md - CRC-64 Core → CRC Speed Routines: uses speed routines
crc64.c - CRC Speed Routines → CRC Interfaces: uses declarations
crcspeed.c