
| Path : /var/softaculous/espo/ |
| Disable Functions : exec,passthru,shell_exec,system System : Linux server-604606.appsiete.com 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 [ Home ][ Zone-h ][ Jumping ][ Symlink ][ Mass Depes ][ Command ] |
| Current File : //var/softaculous/espo/getuid.php |
<?php
$owner = function_exists('posix_getuid') ? posix_getuid() : 0;
$group = function_exists('posix_getegid') ? posix_getegid() : 0;
echo '\<owner>'.$owner.'</owner>';
echo '\<group>'.$group.'</group>';
// this is to handle secret key generation
$SecretKey = __generateSecretKey();
echo '\<secretkey>'.$SecretKey.'</secretkey>';
function __generateSecretKey()
{
if (!function_exists('random_bytes')) {
return uniqid() . substr(md5(rand()), 0, 4);
}
return bin2hex(random_bytes(16));
}
?>