Kali Linux source file and install vsftpd

Change the source of Kali Linux

1
2
3
4
5
6
7
8
cat << EOF > /etc/apt/sources.list
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security/ sana/updates main contrib non-free
EOF

apt-get update
apt-get dist-upgrade # get a coffee, or 10.
reboot

Install vsftpd in Kali Linux

1
apt-get install vsftpd

If you want to allow local users to log in and to allow ftp uploads you have to edit file /etc/vsftpd.conf uncommenting the following

1
2
3
4
5
local_enable=YES
write_enable=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
anonymous_enable=NO

start the service

1
2
3
4
service vsftpd start

check:
netstat -nat | grep 21

References

Source
Install-vsftpd

文章目录
  1. 1. Change the source of Kali Linux
  2. 2. Install vsftpd in Kali Linux
  3. 3. start the service
  4. 4. References
,