HTB Redeemer Lab
HTB Lab
1- Which TCP port is open on the machine?
2- Which service is running on the port that is open on the machine?
start with nmap to know the open ports:
nmap -p- 10.129.88.198this command will take long time and will show open ports.
3- What type of database is Redis? Choose from the following options: (i) In-memory Database, (ii) Traditional Database
Get UnStoppable’s stories in your inbox
Join Medium for free to get updates from this writer.
what is redis db: an open-source, in-memory NoSQL database primarily used as a high-speed cache, message broker, and streaming engine.
Answer : In-memory Database
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.
Answer: redis-cli
5- Which flag is used with the Redis command-line utility to specify the hostname?
Answer: -h
6- Once connected to a Redis server, which command is used to obtain the information and statistics about the Redis server?
Answer: info
to know this you will need to connect to db:
7- What is the version of the Redis server being used on the target machine?
Answer: 5.0.7
8- Which command is used to select the desired database in Redis?
Answer: select
9- How many keys are present inside the database with index 0?
Answer: 4
to know that we need to select 0 index database and read it’s keys.
and use this command inside redis db to know number of keys:
DBSIZE10- Which command is used to obtain all the keys in a database?
Answer: KEYS *
KEYS *then use command type and get to know type of flag file read the flag:
LAB Solved.










