Linux sagir-us1.hostever.us 5.14.0-570.51.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 8 09:41:34 EDT 2025 x86_64
LiteSpeed
Server IP : 104.247.108.91 & Your IP : 216.73.216.105
Domains : 74 Domain
User : georgeto
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
softaculous /
apps /
pureftpd /
3 /
Delete
Unzip
Name
Size
Permission
Date
Action
install.php
2.09
KB
-rw-r--r--
2025-07-28 07:34
remove.php
421
B
-rw-r--r--
2021-12-24 10:19
update.php
1.23
KB
-rw-r--r--
2025-10-06 10:01
Save
Rename
<?php function __pureftpd_requirements(){ global $globals, $error, $distro; $version = (int) str_replace('.', '', $globals['webuzo_version']); // Check Webuzo version | If it's 2.2.8 if($version < 300){ $error[] = 'Please upgrade to Webuzo 3.0.0 to use this application'; return true; } } /* function __pureftpd_preinstall(){ } function __pureftpd_postinstall(){ } */ function __pureftpd_install(){ global $infos, $globals; @mkdir(PUREFTPD_ETC, 0755); copy(PUREFTPD_WAPP.'pure-ftpd.conf', PUREFTPD_ETC.'pure-ftpd.conf'); $distro = $globals['WU_DISTRO']; if($distro == 'ubuntu'){ if(!file_exists('/usr/lib/libcrypto.so.1.0.0')){ vexec('ln -sf /usr/local/apps/lib/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.1.0.0'); } if(!file_exists('/usr/lib/libssl.so.1.0.0')){ vexec('ln -sf /usr/local/apps/lib/libssl.so.1.0.0 /usr/lib/libssl.so.1.0.0'); } }else{ if(!file_exists('/usr/lib64/libcrypto.so.1.0.0')){ vexec('ln -sf /usr/local/apps/lib/libcrypto.so.1.0.0 /usr/lib64/libcrypto.so.1.0.0'); } if(!file_exists('/usr/lib64/libssl.so.1.0.0')){ vexec('ln -sf /usr/local/apps/lib/libssl.so.1.0.0 /usr/lib64/libssl.so.1.0.0'); } } // Check firewalld installed and Add pureftpd service in firewalld $status = trim(shell_exec('firewall-cmd --state 2>&1')); if($status == 'running'){ vexec('firewall-cmd --zone=public --add-service=ftp --permanent && firewall-cmd --reload'); vexec('firewall-cmd --zone=public --add-port=21/tcp --permanent && firewall-cmd --reload'); } // Add the logrotate if (file_exists('/etc/logrotate.d/pureftpd')){ unlink('/etc/logrotate.d/pureftpd'); } copy(PUREFTPD_WAPP.'/pureftpd_logrotate', '/etc/logrotate.d/pureftpd'); if(!file_exists(PUREFTPD_LOGS)){ mkdir(PUREFTPD_LOGS); } } function __pureftpd_configure(){ global $infos, $globals, $iapps, $softpanel; scopy(PUREFTPD_WAPP.'pure-ftpd', PUREFTPD_BIN.'/pureftpdctl'); // restarting the service in order to create a boot startup file in run levels $softpanel->pureftpd_restart(); // Rebuild config with preserved settings $softpanel->pureftpd_config_rebuild(); }