KaliLinux 2018.2: Install atftpd for TFTP server


Table of Contents

1 Install atftpd

Install atftpd package. Disable inetd and run systemd service. /srv/tftp is used for TFTP server directory.

$ sudo apt install -y atftpd$ sudo sed -e ‘s/^USE_INETD=true/USE_INETD=false/g’ -i /etc/default/atftpd$ sudo systemctl enable atftpd$ sudo systemctl restart atftpd

2 GET file with atftp

Install atftp package.

$ sudo apt install -y atftp

Put file to /srv/tftp.

$ echo “hello” | sudo tee /srv/tftp/hello.txt

Get file with atftp from TFTP server.

$ echo “get hello.txt” | atftp 127.0.0.1tftp> get hello.txttftp>$ cat hello.txthello

Android | Linux | SDL - Narrow Escape