这篇文章上次修改于 198 天前,可能其部分内容已经发生变化,如有疑问可询问作者。

主机存活扫描


# 端口扫描
nmap -sV 10.129.183.112
nmap -sV -Pn 10.129.183.112

后台目录扫描


dirb http://10.129.183.112/

dirsearch -u "10.129.183.112"

问题

1、Which TCP port is open on the machine?

6379

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

Redis

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

In-memory Database

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

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

-h

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

info

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

5.0.7

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

select

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

4

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

keys *

flag

# 获取redis信息
info

# 查看当前数据库中 key 的数量
dbsize

# 查看所有key值
keys *

# 获取flag
get flag