as usual let's start with our nmap
nmap -p- -sV targetIP
we can see that port 6379 is open which is running a redis server
you first need to install redis-cli using:
sudo apt install redis-tools
then we can connect to the redis server using:
redis-cli -h targetIP
when connected, type:
info
scroll down at the very end and you should see the database 0 (db0) has 4 keys
you can select the database 0 by typing:
select 0
you can read all the keys available by typing:
keys *
you can read the flag key by typing:
get flag
I also made a quick video on my Youtube channel on Redeemer!
Commentaires