Skip to main content

Command Palette

Search for a command to run...

Redeemer

Updated
1 min readView as Markdown
P
CTF player and Web Pentester
  1. which TCP port is open on machine = 6379

nmap -T4 -sC -sV -O -p-

2 service running that port = redis

  1. Type of database REDIS have = in-memory database

  2. which cli REDIS use = redis-cli

  3. flag used with redis cli to specify hostname = -h

redis-cli -h redis15.localnet.org -p 6390 PING
PONG
  1. Once connected to a Redis server, which command is used to obtain the information and statistics about the Redis server? = info

  2. version of REDIS server on target machine = 5.0.7

  3. command use to select desired database in REDIS = 4

connect with REDIS CLI

redis-cli -h <ip_address>
select 0
keys *

how to get flag

get flag