This is a simple how to install vsftpd server on Kali Linux. The more important configuration file is
Download and install vsftpd:
If you want to allow local users to log in and to allow ftp uploads you have to edit file
write_enable=YES
Also set this parameters:
chroot_list_file=/etc/vsftpd.chroot_list
To secure your server, disable anonymous access if not required:
If you wish you can also modify the banner present in vsftpd.conf, but this is usefull only to prevent simple banner grabbing. A specific tool such as NMAP will discover your server version anyway.
Now create the file
Start service and test connections:
Starting FTP server: vsftpd.
root@kali:~# netstat -nat | grep 21
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
root@kali:~# ftp 127.0.0.1
Connected to 127.0.0.1.
220 (vsFTPd 2.3.5)
Name (127.0.0.1:root): user-one
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
Thanks for the tutorial but when you say which file to edit to allow ftp uploads it should be /etc/vsftpd.conf not /etc/vsptpd.conf
A simple spelling mistake i’m sure. Great tutorial though!
Thanks, I corrected the typo.