ParrotSecurity 3.8: Install tftpd-hpa for TFTP server

This article will describe installing tftpd-hpa for TFTP server.

1 Install tftpd-hpa

Install tftpd-hpa package. /var/lib/tftpboot is used for TFTP server directory.

$ sudo apt install -y tftpd-hpa
$ sudo systemctl enable tftpd-hpa
$ sudo systemctl restart tftpd-hpa

2 GET file with tftp

Install tftp-hpa package.

$ sudo apt install -y tftp-hpa

Put file to /var/lib/tftpboot.

$ echo "hello" | sudo tee /var/lib/tftpboot/hello.txt

Get file with tftp from TFTP server.

$ echo "get hello.txt" | tftp
tftp> get hello.txt
$ cat hello.txt