Server IP : 68.65.122.142  /  Your IP : 3.15.141.184
Web Server : LiteSpeed
System : Linux server167.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : glenirhm ( 1318)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /var/softaculous/abante/../openb/../yeti/../gedview/../chamilo/../unmark/../espo/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //var/softaculous/abante/../openb/../yeti/../gedview/../chamilo/../unmark/../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));
}

?>