Intro
| Dificulty | OS | Start Date | End Date | |—|—|—|—| | Very Easy | Linux | 15/05/2022 | 15/05/2022 |
Thought process
- View running services with
nmap
. - List database KEYS.
- Get the value of the KEY.
redis
Redis is an ‘in-memory’ database. In-memory databases is managed in the RAM of the System in contrast to databases that stores in Disks/SSD (MySQL). The data retrieval time is very small and are commonly used as cache.
Commands
- Interact with DB
redis-cli
- Show Server info
INFO
- List Databases
CONFIG GET databases
- Select database
select
- Show keys
KEYS *
- View value of stored key
get key_name
Connect to redis server
1 $ redis-cli -h @IP -p 6379
Resolution
First I listed keys in the server and i say that there was one call it “flag”. I searched in google how to get the value of a key. After the research I found that the command was get flag
and has allowed me to know the flag.