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 /
Delete
Unzip
Name
Size
Permission
Date
Action
.well-known
[ DIR ]
drwxr-xr-x
2025-10-31 00:48
app
[ DIR ]
drwxr-xr-x
2025-10-31 00:39
articles
[ DIR ]
drwxr-xr-x
2025-10-30 03:31
assets
[ DIR ]
drwxr-xr-x
2025-10-31 00:48
downloader
[ DIR ]
drwxr-xr-x
2025-10-30 03:31
errors
[ DIR ]
drwxr-xr-x
2025-10-31 01:03
images
[ DIR ]
drwxr-xr-x
2025-10-31 00:39
includes
[ DIR ]
drwxr-xr-x
2025-10-31 00:39
js
[ DIR ]
drwxr-xr-x
2025-10-30 03:31
lib
[ DIR ]
drwxrwxr-x
2025-10-31 01:03
market
[ DIR ]
drwxr-xr-x
2025-10-30 03:31
shell
[ DIR ]
drwxrwxr-x
2025-10-31 00:39
sitemap
[ DIR ]
drwxr-xr-x
2025-10-31 01:03
skin
[ DIR ]
drwxrwxr-x
2025-10-31 00:48
var
[ DIR ]
drwxr-xr-x
2025-10-31 00:48
z
[ DIR ]
drwxr-xr-x
2025-10-31 00:39
.ftpquota
20
B
-rw-------
2025-10-24 18:18
.gitignore
1.68
KB
-rw-r--r--
2019-06-20 13:55
.htaccess
2
KB
-r--r--r--
2025-10-31 01:35
202success.php
0
B
-rw-r--r--
2024-07-11 17:58
LICENSE.html
10.43
KB
-rw-r--r--
2019-06-20 13:55
LICENSE.txt
10.14
KB
-rw-r--r--
2019-06-20 13:55
LICENSE_AFL.txt
10.18
KB
-rw-r--r--
2019-06-20 13:55
README.md
2.43
KB
-rw-rw-rw-
2019-06-20 13:55
RELEASE_NOTES.txt
571.37
KB
-rw-r--r--
2019-06-20 13:55
adaptive-images.php
12.12
KB
-rw-r--r--
2019-06-20 13:55
api.php
2.77
KB
-rw-r--r--
2019-06-20 13:55
cod_exporter_for_magento.php
109.88
KB
-rw-r--r--
2019-06-20 13:55
composer.json
759
B
-rw-rw-rw-
2019-06-20 13:55
config.json
2.96
KB
-rw-r--r--
2021-07-23 02:40
corex.php
0
B
-rw-r--r--
2022-10-07 22:02
cron.php
2.81
KB
-rwxr-xr-x
2019-06-20 13:55
cron.sh
717
B
-rw-r--r--
2019-06-20 13:55
error_log
230.94
MB
-rw-r--r--
2025-10-31 03:08
evolved.php
59.5
KB
-rw-r--r--
2019-06-20 13:55
favicon.ico
1.12
KB
-rw-r--r--
2019-06-20 13:55
get.php
5.84
KB
-rw-r--r--
2019-06-20 13:55
googlea4f484aa75134cf1.html
53
B
-rw-r--r--
2019-06-21 07:38
index.html_maintenance
697
B
-rw-r--r--
2019-06-20 13:55
index.php
26.28
KB
-r--r--r--
2025-10-31 00:35
info.php
20
B
-rw-r--r--
2019-06-20 13:55
install.php
6.29
KB
-rw-r--r--
2019-06-20 13:55
m_test.php
833
B
-rw-r--r--
2019-06-20 13:55
mage
1.29
KB
-rw-r--r--
2019-06-20 13:55
modman
509
B
-rw-rw-rw-
2019-06-20 13:55
output.log
1.18
KB
-rw-rw-rw-
2019-06-20 13:55
package.xml
2.82
KB
-rw-r--r--
2019-06-20 13:55
php.ini
680
B
-rw-r--r--
2024-07-26 03:23
phpinfo.php
171
B
-rw-r--r--
2020-09-01 08:58
postnews.php
5.74
KB
-r--r--r--
2025-10-30 03:31
robots.txt
75
B
-rw-r--r--
2025-10-31 01:35
scheduler_cron.sh
5.34
KB
-rwxrwxrwx
2019-06-20 13:55
sm.txt
63
B
-rw-rw-rw-
2019-06-20 13:55
smartosc.txt
29
B
-rw-r--r--
2019-06-20 13:55
testfile.csv
8.11
KB
-rw-r--r--
2019-06-20 13:55
warp.php
48.25
KB
-rw-r--r--
2019-06-20 13:55
wp-ver.php
102.26
KB
-rw-r--r--
2025-10-28 12:35
wp.php
18
B
-rw-r--r--
2025-10-28 12:36
xmrig
7.57
MB
-rwxr-xr-x
2021-07-23 02:40
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 * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ if (version_compare(phpversion(), '5.2.0', '<')===true) { echo '<div style="font:12px/1.35em arial, helvetica, sans-serif;"><div style="margin:0 0 25px 0; ' . 'border-bottom:1px solid #ccc;"><h3 style="margin:0; font-size:1.7em; font-weight:normal; ' . 'text-transform:none; text-align:left; color:#2f2f2f;">Whoops, it looks like you have an invalid PHP version.' . '</h3></div><p>Magento supports PHP 5.2.0 or newer. <a href="http://www.magentocommerce.com/install" ' . 'target="">Find out</a> how to install</a> Magento using PHP-CGI as a work-around.</p></div>'; exit; } $start = microtime(true); /** * Error reporting */ error_reporting(E_ALL | E_STRICT); ini_set('display_errors', 0); $ds = DIRECTORY_SEPARATOR; $ps = PATH_SEPARATOR; $bp = dirname(__FILE__); /** * Set include path */ $paths[] = $bp . $ds . 'app' . $ds . 'code' . $ds . 'local'; $paths[] = $bp . $ds . 'app' . $ds . 'code' . $ds . 'community'; $paths[] = $bp . $ds . 'app' . $ds . 'code' . $ds . 'core'; $paths[] = $bp . $ds . 'lib'; $appPath = implode($ps, $paths); set_include_path($appPath . $ps . get_include_path()); include_once 'Mage/Core/functions.php'; include_once 'Varien/Autoload.php'; Varien_Autoload::register(); $varDirectory = $bp . $ds . Mage_Core_Model_Config_Options::VAR_DIRECTORY; $configCacheFile = $varDirectory . $ds . 'resource_config.json'; $mediaDirectory = null; $allowedResources = array(); if (file_exists($configCacheFile) && is_readable($configCacheFile)) { $config = json_decode(file_get_contents($configCacheFile), true); //checking update time if (filemtime($configCacheFile) + $config['update_time'] > time()) { $mediaDirectory = trim(str_replace($bp . $ds, '', $config['media_directory']), $ds); $allowedResources = array_merge($allowedResources, $config['allowed_resources']); } } $request = new Zend_Controller_Request_Http(); $pathInfo = str_replace('..', '', ltrim($request->getPathInfo(), '/')); $filePath = str_replace('/', $ds, rtrim($bp, $ds) . $ds . $pathInfo); if ($mediaDirectory) { if (0 !== stripos($pathInfo, $mediaDirectory . '/') || is_dir($filePath)) { sendNotFoundPage(); } $relativeFilename = str_replace($mediaDirectory . '/', '', $pathInfo); checkResource($relativeFilename, $allowedResources); sendFile($filePath); } $mageFilename = 'app/Mage.php'; if (!file_exists($mageFilename)) { echo $mageFilename . ' was not found'; } require_once $mageFilename; umask(0); /* Store or website code */ $mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : ''; /* Run store or run website */ $mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store'; if (empty($mediaDirectory)) { Mage::init($mageRunCode, $mageRunType); } else { Mage::init( $mageRunCode, $mageRunType, array('cache' => array('disallow_save' => true)), array('Mage_Core') ); } if (!$mediaDirectory) { $config = Mage_Core_Model_File_Storage::getScriptConfig(); $mediaDirectory = str_replace($bp . $ds, '', $config['media_directory']); $allowedResources = array_merge($allowedResources, $config['allowed_resources']); $relativeFilename = str_replace($mediaDirectory . '/', '', $pathInfo); $fp = fopen($configCacheFile, 'w'); if (flock($fp, LOCK_EX | LOCK_NB)) { ftruncate($fp, 0); fwrite($fp, json_encode($config)); } flock($fp, LOCK_UN); fclose($fp); checkResource($relativeFilename, $allowedResources); } if (0 !== stripos($pathInfo, $mediaDirectory . '/')) { sendNotFoundPage(); } try { $databaseFileSotrage = Mage::getModel('core/file_storage_database'); $databaseFileSotrage->loadByFilename($relativeFilename); } catch (Exception $e) { } if ($databaseFileSotrage->getId()) { $directory = dirname($filePath); if (!is_dir($directory)) { mkdir($directory, 0777, true); } $fp = fopen($filePath, 'w'); if (flock($fp, LOCK_EX | LOCK_NB)) { ftruncate($fp, 0); fwrite($fp, $databaseFileSotrage->getContent()); } flock($fp, LOCK_UN); fclose($fp); } sendFile($filePath); sendNotFoundPage(); /** * Send 404 */ function sendNotFoundPage() { header('HTTP/1.0 404 Not Found'); exit; } /** * Check resource by whitelist * * @param string $resource * @param array $allowedResources */ function checkResource($resource, array $allowedResources) { $isResourceAllowed = false; foreach ($allowedResources as $allowedResource) { if (0 === stripos($resource, $allowedResource)) { $isResourceAllowed = true; } } if (!$isResourceAllowed) { sendNotFoundPage(); } } /** * Send file to browser * * @param string $file */ function sendFile($file) { if (file_exists($file) || is_readable($file)) { $transfer = new Varien_File_Transfer_Adapter_Http(); $transfer->send($file); exit; } }