[HTB] Starting Point: Redeemer

Chris Kim·2024년 11월 12일

Hack The box

목록 보기
4/10

1. Task

Task1
Q: Which TCP port is open on the machine?
A: 6379

Task2
Q: Which service is running on the port that is open on the machine?
A: Redis

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

A: In-memory Database

Task4
Q: 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.
A: redis-cli

Task5
Q: Which flag is used with Redis command-line utility to specify the hostname?
A: -h

Task6
Q: ONce connected to Redis server, which command is used to obtaing the information and statistics about Redis server?
A: info

Task7
Q: What is the version of the Redis server being used on the target machine?
A: 5.0.7

Task8
Q: Which command is used to select the desired database in Redis?
A: select

Task9
Q: How many keys are present inside the database with index 0?
A: 4

Task10
Q: Which command is used to optain all the keys in a database?
A: keys *

2. Redis

2.1 No SQL

Resdis is NoSQL. In Redis, data is stored in memory not disks. So Redis is faster than other SQL.
Redis has vary type of data structure. A picture below, show them.

2.2 Command list

https://redis.io/docs/latest/commands/

profile
회계+IT=???

0개의 댓글