πŸ’‘
Task 1

Which TCP port is open on the machine?

The following command will scan all of the ports of the target machine.

nmap -sV IP_ADDRESS -p 0-65535
Starting Nmap 7.80 ( https://nmap.org ) at 2023-06-12 12:45 EEST
Stats: 0:00:24 elapsed; 0 hosts completed (1 up), 1 undergoing Connect Scan
Connect Scan Timing: About 58.10% done; ETC: 12:46 (0:00:17 remaining)
Nmap scan report for IP_ADDRESS
Host is up (0.067s latency).
Not shown: 65535 closed ports
PORT     STATE SERVICE VERSION
6379/tcp open  redis   Redis key-value store 5.0.7

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 47.67 seconds

6379

πŸ’‘
Task 2

Which service is running on the port that is open on the machine?

redis

πŸ’‘
Task 3

What type of database is Redis? Choose from the following options: (i) In-memory Database, (ii) Traditional Database

In-memory Database

πŸ’‘
Task 4

Which command-line utility is used to interact with the Redis server? Enter the program name you would enter into the terminal without any arguments.

redis-cli

πŸ’‘
Task 5

Which flag is used with the Redis command-line utility to specify the hostname?

-h

πŸ’‘
Task 6

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

info

πŸ’‘
Task 7

What is the version of the Redis server being used on the target machine?

5.0.7

πŸ’‘
Task 8

Which command is used to select the desired database in Redis?

select 0

select

πŸ’‘
Task 9

How many keys are present inside the database with index 0?

keys *
1) "stor"
2) "numb"
3) "flag"
4) "temp"

4

πŸ’‘
Task 10

Which command is used to obtain all the keys in a database?

keys *
1) "stor"
2) "numb"
3) "flag"
4) "temp"

keys *

πŸ’‘
Submit Flag
IP_ADDRESS:6379> get flag

Tagged in: