403Webshell
Server IP : 66.29.132.122  /  Your IP : 52.14.205.138
Web Server : LiteSpeed
System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : admazpex ( 531)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/var/softaculous/espo/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/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));
}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit