Server IP : 149.255.58.128 / Your IP : 216.73.216.158
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /var/softaculous/suitecrm7//get_user.php
<?php
@unlink('get_user.php');
function __getRunningUser(){
// works on Windows and Linux, but might return null on systems that include "exec" in
// disabled_functions in php.ini (typical in shared hosting)
$runningUser = exec('whoami');
if ($runningUser == null) { // matches null, false and ""
if (__is_windows()) {
$runningUser = getenv('USERDOMAIN').'\\'.getenv('USERNAME');
} elseif (function_exists('posix_getpwuid') && function_exists('posix_geteuid')) {
$usr = posix_getpwuid(posix_geteuid());
$runningUser = $usr['name'];
}
}
return ($runningUser == null) ? '' : $runningUser;
}
function __is_windows(){
static $is_windows = null;
if (!isset($is_windows)) {
$is_windows = strtoupper(substr(PHP_OS, 0, 3)) == 'WIN';
}
return $is_windows;
}
$cronUser = __getRunningUser();
echo '<get_user>'.$cronUser.'</get_user>';
?>
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | May 23 2025 09:37:16 | 0 / root | 0755 | |
images | -- | November 07 2024 10:37:16 | 0 / root | 0755 | |
php53 | -- | November 07 2024 10:37:16 | 0 / root | 0755 | |
php56 | -- | November 07 2024 10:37:16 | 0 / root | 0755 | |
php71 | -- | November 07 2024 10:37:16 | 0 / root | 0755 | |
php81 | -- | November 07 2024 10:37:16 | 0 / root | 0755 | |
php82 | -- | November 07 2024 10:37:16 | 0 / root | 0755 | |
| | | | | |
_.htaccess | 3.974 KB | November 23 2023 06:31:18 | 0 / root | 0644 | |
clone.php | 16.438 KB | November 06 2024 07:38:34 | 0 / root | 0644 | |
config.php | 11.581 KB | November 06 2024 07:05:18 | 0 / root | 0644 | |
config_override.php | 0.129 KB | November 06 2024 07:05:18 | 0 / root | 0644 | |
edit.php | 4.685 KB | November 06 2024 07:38:34 | 0 / root | 0644 | |
edit.xml | 0.423 KB | November 23 2023 06:31:18 | 0 / root | 0644 | |
extend.php | 10.004 KB | November 06 2024 07:38:34 | 0 / root | 0644 | |
fileindex.php | 0.657 KB | November 23 2023 06:31:18 | 0 / root | 0644 | |
get_user.php | 0.925 KB | November 23 2023 06:31:18 | 0 / root | 0644 | |
import.php | 3.335 KB | November 06 2024 07:38:34 | 0 / root | 0644 | |
info.xml | 3.553 KB | November 06 2024 07:05:18 | 0 / root | 0644 | |
install.js | 0.902 KB | November 23 2023 06:31:18 | 0 / root | 0644 | |
install.php | 11.072 KB | November 06 2024 07:38:34 | 0 / root | 0644 | |
install.xml | 1.117 KB | February 07 2024 02:59:46 | 0 / root | 0644 | |
md5 | 1.579 KB | November 06 2024 07:38:34 | 0 / root | 0644 | |
notes.txt | 1.109 KB | November 23 2023 06:31:18 | 0 / root | 0644 | |
status.json | 0.298 KB | November 23 2023 06:31:18 | 0 / root | 0644 | |
update_pass.php | 0.545 KB | November 23 2023 06:31:18 | 0 / root | 0644 | |