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
Which service is running on the port that is open on the machine?
redis
What type of database is Redis? Choose from the following options: (i) In-memory Database, (ii) Traditional Database
In-memory Database
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
Which flag is used with the Redis command-line utility to specify the hostname?
-h
Once connected to a Redis server, which command is used to obtain the information and statistics about the Redis server?
info
What is the version of the Redis server being used on the target machine?
5.0.7
Which command is used to select the desired database in Redis?
select 0
select
How many keys are present inside the database with index 0?
keys *
1) "stor"
2) "numb"
3) "flag"
4) "temp"
4
Which command is used to obtain all the keys in a database?
keys *
1) "stor"
2) "numb"
3) "flag"
4) "temp"
keys *
IP_ADDRESS:6379> get flag
Subscribe to our email newsletter and unlock access to members-only content and exclusive updates.
Comments