hackthebox - Redeemer

2024.4.19

TASK 1

Which TCP port is open on the machine?

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

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

TASK 5

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

-h

TASK 6

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

info

TASK 7

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

5.0.7

TASK 8

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

select

TASK 9

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

在 info 信息中可以看到 keys 的信息
4

TASK 10

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

keys *

FLAG

获取flag的完整流程

nmap -T5 -sS -sV -p- 10.129.145.1    //发现开启的端口
redis-cli -h 10.129.145.1    //链接redis
select 0    //选择序号为0的数据库
keys *    //查看库中的表
get flag    //获取flag

  • 5
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Z时代.bug(゜▽゜*)

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值