Connect To Starting Point VPN:
You must connect yourself to the starting point VPN before answering the question. You can choose one way to connect to the VPN from the following two ways shown below ๐.
Once you're connected to the Starting Point VPN now spawn your machine by clicking on the SPAWN MACHINE button shown in the image below ๐ .
Now Let's start answering the questions.
Task No 01:
Which TCP port is open on the machine?
Answer:
To check which port TCP port is open on the target machine enter the following command in your bash.
nmap -p- target-ip
This command will scan all 65535 TCP ports on the target machine and display the open ports.
Task No 02:
Which service is running on the port that is open on the machine?
Answer:
By running the above shown command you will also get information about the service running on the open ports.
Task No 03:
What type of database is Redis? Choose from the following options: (i) In-memory Database, (ii) Traditional Database
Answer:
In-memory Database
Task No 04:
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.
Answer:
redis-cli
Task No 05:
Which flag is used with the Redis command-line utility to specify the hostname?
Answer:
-h
Task No 06:
Once connected to a Redis server, which command is used to obtain the information and statistics about the Redis server?
Answer:
info
Task No 07:
What is the version of the Redis server being used on the target machine?
Answer:
5.0.7
Task No 08:
Which command is used to select the desired database in Redis?
Answer:
select
Task No 09:
How many keys are present inside the database with index 0?
Answer:
4
To find how many keys are present inside the database enter the following command in your bash.
keys *
Task No 09:
Which command is used to obtain all the keys in a database?
Answer:
keys *
Task No 10:
Submit root flag
Answer:
03e1d2b376c37ab3f5319922053953eb
Congratulation ๐๐ you've successfully completed your forth lab in hack the box Learning The Basics Of Penetration Testing Module.
Lab 01 "meow" walkthrough ๐R Hack The Box Tier 0 Lab 1 "meow" Walkthrough.
Lab 02 "fawn" walkthrough ๐R Hack The Box Tier 0 Lab 2 "fawn" Walkthrough.
Lab 03 "dancing" walkthrough ๐R Hack The Box Tier 0 Lab 3 "dancing" Walkthrough