21 - FTP

The File Transfer Protocol is a standard network protocol used for the transfer of computer files between a client and server on a computer network.

*Consider using FileZilla

Anonymous FTP

username: anonymous

password: blank

Login using Anonymous:

root@Kali:~/# ftp 10.10.10.98 
Connected to 10.10.10.98. 
220 Microsoft FTP Service 
Name (10.10.10.98:root): anonymous 
331 Anonymous access allowed, send identity (e-mail name) as password. 
Password: 
230 User logged in. 
Remote system type is Windows_NT. 
ftp> dir 
200 PORT command successful. 
125 Data connection already open; Transfer starting. 
08-23-18 08:16PM <DIR> Backups 
08-24-18 09:00PM <DIR> Engineer 
226 Transfer complete. 
ftp> exit 
221 Goodbye.

Nmap

Port scan using nmap

Download everything from FTP server

Connect on a non-standard port

Metasploit module:

auxiliary/scanner/ftp/ftp_login

use auxiliary/scanner/ftp/anonymous

auxiliary/scanner/ftp/ftp_version

Create FTP server

On a linux host start a FTP:

Or use metasploit:

Last updated

Was this helpful?