X7ROOT File Manager
Current Path:
/var/softaculous/suitecrm7
var
/
softaculous
/
suitecrm7
/
??
..
??
_.htaccess
(4.04 KB)
??
clone.php
(16.45 KB)
??
config.php
(11.58 KB)
??
config_override.php
(132 B)
??
edit.php
(4.7 KB)
??
edit.xml
(433 B)
??
extend.php
(9.98 KB)
??
fileindex.php
(673 B)
??
get_user.php
(947 B)
??
images
??
import.php
(3.35 KB)
??
info.xml
(3.55 KB)
??
install.js
(924 B)
??
install.php
(11.06 KB)
??
install.xml
(1.12 KB)
??
md5
(2.34 KB)
??
notes.txt
(1.11 KB)
??
php53
??
php56
??
php71
??
php81
??
php82
??
status.json
(305 B)
??
suitecrm7.sql
(341.11 KB)
??
suitecrm7.zip
(51.17 MB)
??
update_pass.php
(558 B)
Editing: 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>'; ?>
Upload File
Create Folder