STARTING POINT - TIER 0 - Redeemer
一、题目
TASK 1
Which TCP port is open on the machine?
这台机器上的哪个TCP端口是开放的?
答案:6379
TASK 2
Which service is running on the port that is open on the machine?
哪个服务是在机器上打开的端口上运行的?
答案:redis
TASK 3
What type of database is Redis? Choose from the following options: (i) In-memory Database, (ii) Traditional Database
Redis是什么类型的数据库?从以下选项中选择:(i)内存数据库,(ii)传统数据库
答案:In-memory Database
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.
哪个命令行工具被用来与Redis服务器交互?输入你要在终端输入的程序名称,不要有任何参数。
答案:redis-cli
TASK 5
Which flag is used with the Redis command-line utility to specify the hostname?
哪个标志用于Redis命令行工具,以指定主机名?
答案:-h
TASK 6
Once connected to a Redis server, which command is used to obtain the information and statistics about the Redis server?
一旦连接到Redis服务器,哪条命令用于获取有关Redis服务器的信息和统计数据?
答案:info
TASK 7
What is the version of the Redis server being used on the target machine?
目标机上使用的Redis服务器的版本是什么?
答案:5.0.7
TASK 8
Which command is used to select the desired database in Redis?
哪条命令用于在Redis中选择所需的数据库?
答案:select
TASK 9
How many keys are present inside the database with index 0?
在索引为0的数据库中存在多少个键?
答案:4
TASK 10
Which command is used to obtain all the keys in a database?
哪条命令用于获取数据库中的所有键?
答案:keys *
二、过程
namp扫描
nmap -sVC -T4 -Pn --open -p- 10.129.197.189

使用redis-cli连接并查看库信息
redis-cli -h 10.129.197.189 info

使用语句查询索引0数据库中键信息,并获取flag值
select 0 keys * get flag


浙公网安备 33010602011771号