Hack The Box-Fawn

本文介绍了文件传输协议(FTP)的基本概念,包括常用端口、安全版本、连接测试命令等,并提供了如何通过nmap进行FTP服务扫描的具体步骤,帮助读者掌握FTP的基本操作及安全扫描方法。

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

连接目标环境,获取目标IP地址。
image.png

Task1

What does the 3-letter acronym FTP stand for?

file transfer protocol

Task2

Which port does the FTP service listen on usually?

21

Task3

What acronym is used for the secure version of FTP?

sftp

Task4

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

ping

Task5

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

这个就需要用nmap扫一下看看了。
image.png
vsftpd 3.0.3

Task6

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

通过nmap的扫描结果可以看出操作系统类型。
image.png
unix

Task7

What is the command we need to run in order to display the ‘ftp’ client help menu?

ftp -h

Task8

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

anonymous

Task9

What is the response code we get for the FTP message ‘Login successful’?

使用匿名账户登陆一下,可以看到返回值为230。
image.png

Task10

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

Task11

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

get

Task12

Submit root flag

跟着任务的流程一步步走,最后拿到flag。
image.png
035db21c881520061c53e0536e44f815

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值