标签:
{相关信息}
OS:Kali
$ sudo apt-get install tftpd tftp xinetd
$ sudo nano /etc/xinetd.d/tftp
service tftp { socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /var/tftpboot disable = no per_source = 11 cps = 100 2 flags = IPv4 }
3、建立tftp服务文件目录
$ sudo mkdir -p /var/tftpboot $ sudo chmod 777 /var/tftpboot -R
$ sudo /etc/init.d/xinetd restart
$ netstat -a | grep tftp
$ touch /var/tftpboot/ctest
$ cd ~
$ tftp 127.0.0.1
tftp> get ctest
tftp> q
$ ls
标签:
原文地址:http://www.cnblogs.com/aqing1987/p/4290430.html