redeemer

Redeemer writeup

Task 1


Which TCP port is open on the machine?

redeemer_1

Answer : 6379

Task 2


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

Answer : redis

Redis (Remote Dictionary Server) is an open-source, in-memory data structure store used as a database, cache, and message broker. It supports various data structures such as strings, hashes, lists, sets, and sorted sets.

Redis is known for its high performance, low latency, and rich feature set, making it ideal for real-time applications, caching, session management, and other scenarios where fast data access is critical. It also offers features like replication, persistence, and support for Lua scripting.

Task 3


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

Answer : In-memory Database

An in-memory database is a type of database that primarily relies on main memory (RAM) for data storage, as opposed to traditional databases that store data on disk. This approach allows for significantly faster data access and processing times because reading and writing to RAM is much quicker than to disk.

In-memory databases are commonly used in applications that require real-time data processing, high-speed transactions, and low-latency data retrieval, such as caching, real-time analytics, and high-frequency trading systems. Examples of in-memory databases include Redis, SAP HANA, and Memcached.

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.

Answer : redis-cli

Task 5


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

Answer : -h

Task 6


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

Answer : info

Task 7


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

redeemer_2

Answer : 5.0.7

Knowing versions of services is always a plus. It can lead you to use known vulnerabilities, flaws or the default configuration that can be exploited

Task 8


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

Answer : select

Task 9


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

At the end of the previous info output :

redeemer_3

Answer : 4

In Redis, keys are used to reference and manage data stored in its in-memory database. Redis keys can be strings, and they are used to identify and access different data types such as strings, lists, sets, hashes, and sorted sets.

Task 10


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

Answer : keys *

Task 11


Submit root flag

redeemer_4redeemer_5

Answer : Get your own !

AFZ-logoJeeZy Blog

© 2024-2025 JeeZy Blog