Hack The Box-Redeemer

本文通过一系列任务介绍了如何使用nmap和redis-cli工具探索Redis服务器环境。包括确定开放端口、运行的服务、Redis类型、命令行工具使用、连接参数、服务器信息获取、数据库选择及键值数量查询等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

申请虚拟环境,得到目标IP地址。

Task1

Which TCP port is open on the machine?

使用sudo nmap -p- -sV 10.129.54.255全端口扫描一下看看。

6379

Task2

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

通过nmap的扫描结果可以得到,服务名撒

Task3

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

In-memory Database

Task4

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-cli

Task5

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

利用redis-cli --help命令查看帮助手册。

-h

Task6

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

info

Task7

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

info命令获取信息第一行就是版本号,5.0.7

Task8

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

select 0

Task9

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

info信息中,这里的db0中,keys=4

Task10

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

keys *

Task11

Submit root flag

03e1d2b376c37ab3f5319922053953eb

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值