Linux host2.homegym.sg 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64
Apache
Server IP : 159.223.38.192 & Your IP : 159.223.38.192
Domains : 20 Domain
User : eachadea
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
/
home /
eachadea /
public_html /
homegym.my /
downloader /
Delete
Unzip
Name
Size
Permission
Date
Action
.cache
[ DIR ]
drwxrwxrwx
2025-10-31 00:46
Maged
[ DIR ]
drwxr-xr-x
2025-10-31 00:39
js
[ DIR ]
drwxr-xr-x
2025-10-31 01:01
lib
[ DIR ]
drwxr-xr-x
2025-10-31 00:39
skin
[ DIR ]
drwxr-xr-x
2025-10-31 00:39
template
[ DIR ]
drwxr-xr-x
2025-10-31 00:39
.htaccess
2
KB
-r--r--r--
2025-10-30 03:31
cache.cfg
414.48
KB
-rw-rw-rw-
2019-06-20 13:58
config.ini
22
B
-rw-r--r--
2019-06-20 13:58
connect.cfg
495
B
-rw-rw-rw-
2019-06-20 13:58
doc.php
12.56
KB
-rw-r--r--
2025-10-28 12:41
error_log
195.53
KB
-rw-r--r--
2024-09-17 10:04
evolved.php
35
B
-rw-r--r--
2019-06-20 13:58
favicon.ico
1.12
KB
-rw-r--r--
2019-06-20 13:58
index.php
1.61
KB
-rw-r--r--
2019-06-20 13:58
mage.php
4.51
KB
-rw-r--r--
2019-06-20 13:58
postnews.php
5.74
KB
-r--r--r--
2025-10-30 03:31
target.xml
1.02
KB
-rw-r--r--
2019-06-20 13:58
warp.php
42
B
-rw-r--r--
2019-06-20 13:58
Save
Rename
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@magentocommerce.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade Magento to newer * versions in the future. If you wish to customize Magento for your * needs please refer to http://www.magentocommerce.com for more information. * * @category Mage * @package Mage_Connect * @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ define('DS', DIRECTORY_SEPARATOR); define('PS', PATH_SEPARATOR); define('BP', dirname(dirname(__FILE__))); define('MAGENTO_ROOT', dirname(dirname(__FILE__))); class __cli_Mage_Connect { private static $_instance; protected $argv; public static function instance() { if(!self::$_instance) { self::$_instance = new self(); } return self::$_instance; } public function init($argv) { $this->argv = $argv; $this->setIncludes(); require_once("Mage/Autoload/Simple.php"); Mage_Autoload_Simple::register(); chdir(BP . DS . 'downloader' . DS); return $this; } public function setIncludes() { if (defined('DEVELOPMENT_MODE')) { $libPath = PS . dirname(BP) . DS . 'lib'; } else { $libPath = PS . BP . DS . 'downloader' . DS . 'lib'; } $includePath = BP . DS . 'app' . $libPath . PS . get_include_path(); set_include_path($includePath); } public function getCommands() { return Mage_Connect_Command::getCommands(); } public function getFrontend() { $frontend = Mage_Connect_Frontend::getInstance('CLI'); Mage_Connect_Command::setFrontendObject($frontend); return $frontend; } public function getConfig($fileName = 'connect.cfg') { if (isset($this->config)) { return $this->config; } $config = new Mage_Connect_Config($fileName); if (empty($config->magento_root)) { $config->magento_root = dirname(dirname(__FILE__)); } Mage_Connect_Command::setConfigObject($config); $this->config = $config; return $config; } public function detectCommand() { $argv = $this->argv; if(empty($argv[1])) { return false; } if(in_array($argv[1], $this->validCommands)) { list($options,$params) = $this->parseCommandArgs($argv); return array('name' => strtolower($argv[1]), 'options'=>$options, 'params'=>$params); } return false; } public function parseCommandArgs($argv) { $a = new Mage_System_Args(); $args = $a->getFiltered(); array_shift($args); return array($a->getFlags(), $args); } public function runCommand($cmd, $options, $params) { $c = Mage_Connect_Command::getInstance($cmd); $c->run($cmd, $options, $params); } private $_sconfig; public function getSingleConfig() { if(!$this->_sconfig) { $this->_sconfig = new Mage_Connect_Singleconfig( $this->getConfig()->magento_root . DS . $this->getConfig()->downloader_path . DS . Mage_Connect_Singleconfig::DEFAULT_SCONFIG_FILENAME ); } Mage_Connect_Command::setSconfig($this->_sconfig); return $this->_sconfig; } public function run() { $this->commands = $this->getCommands(); $this->frontend = $this->getFrontend(); $this->config = $this->getConfig(); $this->validCommands = array_keys($this->commands); $this->getSingleConfig(); $cmd = $this->detectCommand(); if(!$cmd) { $this->frontend->outputCommandList($this->commands); } else { $this->runCommand($cmd['name'], $cmd['options'], $cmd['params']); } } } if (defined('STDIN') && defined('STDOUT') && (defined('STDERR'))) { __cli_Mage_Connect::instance()->init($argv)->run(); }