pure-ftpd 1.0.20_1 Services: PureFTPD Accounts pkg_edit.php?xml=pure-ftpd.xml&id=1 Pure FTPD Accounts Pure FTPd Server is a fast, production quality, standards-conformant FTP server based on Troll-FTPd. It has no known vulnerability, it is trivial to set up, and it is especially designed for modern kernels. Features include PAM support, IPv6, chroot()ed home directories, virtual domains, built-in 'ls', FXP protocol, anti-warez system, bandwidth throttling, restricted ports for passive downloads, an LDAP backend, XML output, and more.
Services
pure-ftpd.xml
Pure FTPD Settings Pure FTPd Server is a fast, production quality, standards-conformant FTP server based on Troll-FTPd. It has no known vulnerability, it is trivial to set up, and it is especially designed for modern kernels. Features include PAM support, IPv6, chroot()ed home directories, virtual domains, built-in 'ls', FXP protocol, anti-warez system, bandwidth throttling, restricted ports for passive downloads, an LDAP backend, XML output, and more.
Services
/pkg_edit.php?xml=pure-ftpdsettings.xml
http://www.pfsense.com/packages/config/pure-ftpdsettings.xml installedpackages->package->$packagename->configuration Username username Description description Username username Enter the username here input Password password Enter the password here password Username Description description Enter the description of the user here input Account Expiration expiration Amount of days when account expires. Leave blank for never. input mwexec("rm /usr/local/etc/rc.d/pure-ftp*"); $fout = fopen("/usr/local/etc/rc.d/pure-ftpd.sh","w"); fwrite($fout, "#!/bin/sh\n\n"); fwrite($fout, "/usr/local/sbin/pure-ftpd -A -B /usr/local/etc/pure-ftpd.conf\n"); fclose($fout); mwexec("chmod a+x /usr/local/etc/rc.d/pure-ftpd.sh"); mwexec("/usr/local/etc/rc.d/pure-ftpd.sh"); mwexec("/usr/bin/killall pure-ftpd"); system("rm -rf /usr/local/etc/pure*"); conf_mount_rw(); config_lock(); $expires = ""; if($_POST['expiration']) $expires = " -e " . $_POST['expiration']; mwexec("/usr/sbin/pw useradd " . $_POST['username'] . $expires . " -m -k /home/ " . $_POST['username'] . " -s /usr/sbin/nologin"); $fd = popen("/usr/sbin/pw usermod -n " . $_POST['username'] . " -H 0", "w"); $salt = md5(time()); $crypted_pw = crypt($_POST['password'],$salt); fwrite($fd, $crypted_pw); pclose($fd); conf_mount_ro(); config_unlock(); $savemsg = "User has been added."; system("/usr/sbin/pw userdel " . $username);