What does the 3-letter acronym FTP stand for?
The File Transfer Protocol (FTP) is a standard communication protocol used to transfer computer files from a server to a client on a computer network. FTP is built on a client–server model architecture using separate control and data connections between the client and the server. FTP users may authenticate themselves with a clear-text sign-in protocol, generally in the form of a username and password. However, they can connect anonymously if the server is configured to allow it. For secure transmission that protects the username and password and encrypts the content, FTP is often secured with SSL/TLS (FTPS) or replaced with SSH File Transfer Protocol (SFTP)
Which port does the FTP service listen on usually?
└─$ nmap -p- --min-rate 5000 10.129.1.14
PORT STATE SERVICE
21/tcp open ftp
What acronym is used for the secure version of FTP?
What is the command we can use to send an ICMP echo request to test our connection to the target?
4)ping
From your scans, what version is FTP running on the target?
From your scans, what version is FTP running on the target?
PORT STATE SERVICE VERSION
21/tcp open ftp vsftpd 3.0.3
Service Info: OS: Unix
From your scans, what OS type is running on the target?
6)Unix
What is the command we need to run in order to display the 'ftp' client help menu?
What is username that is used over FTP when you want to log in without having an account?
┌──(kali㉿kali)-[~/Downloads]
└─$ ftp 10.129.217.245
Connected to 10.129.217.245.
220 (vsFTPd 3.0.3)
Name (10.129.217.245:kali): anonymous
331 Please specify the password.
Password:
**230 Login successful.**
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
229 Entering Extended Passive Mode (|||37619|)
150 Here comes the directory listing.
-rw-r--r-- 1 0 0 32 Jun 04 2021 flag.txt
226 Directory send OK.
ftp> cat flag.txt
?Invalid command.
ftp> get flag.txt
local: flag.txt remote: flag.txt
229 Entering Extended Passive Mode (|||35436|)
150 Opening BINARY mode data connection for flag.txt (32 bytes).
100% |**************************************************************************************************************************| 32 59.29 KiB/s 00:00 ETA
226 Transfer complete.
32 bytes received in 00:00 (0.10 KiB/s)
ftp> exit
221 Goodbye.
What is the response code we get for the FTP message 'Login successful'?
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.
What is the command used to download the file we found on the FTP server?
Submit root flag
flag will be in the directory we used ftp after running get command