# Redeemer

1.  which TCP port is open on machine = 6379
    

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

2 service running that port = redis

3) Type of database REDIS have = in-memory database

4) which cli REDIS use = redis-cli

5) flag used with redis cli to specify hostname = -h

```plaintext
redis-cli -h redis15.localnet.org -p 6390 PING
PONG
```

6) Once connected to a Redis server, which command is used to obtain the information and statistics about the Redis server? = info

7) version of REDIS server on target machine = 5.0.7

8) command use to select desired database in REDIS = 4

connect with REDIS CLI  

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

how to get flag

```plaintext
get flag
```
