💡
Task 1

What does the 3-letter acronym FTP stand for?

File Transfer Protocol

💡
Task 2

Which port does the FTP service listen on usually?

21

💡
Task 3

What acronym is used for the secure version of FTP?

sftp

💡
Task 4

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

ping

💡
Task 5

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

vsftpd 3.0.3

sudo nmap -sV IP_ADDRESS
Host is up (0.067s latency).
Not shown: 999 closed ports
PORT   STATE SERVICE VERSION
21/tcp open  ftp     vsftpd 3.0.3
Service Info: OS: Unix

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 1.45 seconds
💡
Task 6

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

Unix

Answer found from the previous scan.

💡
Task 7

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

ftp -h

💡
Task 8

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

anonymous

💡
Task 9

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

230

💡
Task 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

💡
Task 11

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

get

💡
Submit Flag
ftp IP_ADDRESS
Name (:): anonymous
31 Please specify the password. (blank)
Password: 
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
229 Entering Extended Passive Mode (|||53504|)
150 Here comes the directory listing.
-rw-r--r--    1 0        0              32 Jun 04  2021 flag.txt
226 Directory send OK.
ftp> get flag.txt
local: flag.txt remote: flag.txt
229 Entering Extended Passive Mode (|||11380|)
150 Opening BINARY mode data connection for flag.txt (32 bytes).
100% |*************************************************|    32       53.05 KiB/s    00:00 ETA
226 Transfer complete.
32 bytes received in 00:00 (0.45 KiB/s)

Open up the terminal in your working terminal and read the flag.

cat flag.txt

Tagged in: