HEX
Server: LiteSpeed
System: Linux srv1.dhviews.com 5.14.0-570.23.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jun 24 11:27:16 EDT 2025 x86_64
User: bdedition (1723)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //opt/cpvendor/bin/inc.php
<?php

include_once('/usr/local/webuzo/universal.php');
include_once('/usr/local/webuzo/globals.php');

// Get the parameters for data
foreach($argv as $k => $v){
	$v = ltrim($v, '-');
	$temp = explode('=', $v);
	$args[trim($temp[0])] = trim($temp[1]);
}

function cl_user_list(){
	
	global $globals;
	
	foreach (glob($globals['users_path'].'/*') as $file){
		$user = basename($file);
		$info = posix_getpwnam($user);
		if(!empty($info)){
			$users[$user] = $user;
		}
	}
	
	return $users;
	
}