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

主机存活扫描


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

后台目录扫描


dirb http://10.129.107.23/

dirsearch -u "10.129.107.23"

问题

1、What does the 3-letter acronym FTP stand for?

File Transfer Protocol

2、Which port does the FTP service listen on usually?

21

3、What acronym is used for the secure version of FTP?

SFTP

4、What is the command we can use to send an ICMP echo request to test our connection to the target?

ping

5、From your scans, what version is FTP running on the target?

vsftpd 3.0.3

6、From your scans, what OS type is running on the target?

Unix

7、What is the command we need to run in order to display the 'ftp' client help menu?

ftp -h

8、What is username that is used over FTP when you want to log in without having an account?

anonymous

9、What is the response code we get for the FTP message 'Login successful'?

230

10、There are a couple of commands we can use to list the files and directories available on the FTP server. One is dir. What is the other that is a common way to list files on a Linux system.

ls

11、What is the command used to download the file we found on the FTP server?

get

flag

连接ftp服务器

ftp 10.129.107.23

# 匿名登录
# 账号:anonymous
# 密码 自己设定
# 查看
ftp>ls
# 下载文件
ftp>get flag.txt