Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html_old /
asiafoodco.com /
shop /
classes /
Delete
Unzip
Name
Size
Permission
Date
Action
cache
[ DIR ]
drwxrwxrwx
2018-05-03 14:19
controller
[ DIR ]
drwxrwxrwx
2018-05-03 14:19
db
[ DIR ]
drwxrwxrwx
2018-05-03 14:19
exception
[ DIR ]
drwxrwxrwx
2018-05-03 14:19
helper
[ DIR ]
drwxrwxrwx
2018-05-03 14:19
log
[ DIR ]
drwxrwxrwx
2018-05-03 14:19
module
[ DIR ]
drwxrwxrwx
2018-05-03 14:19
order
[ DIR ]
drwxrwxrwx
2018-05-03 14:19
pdf
[ DIR ]
drwxrwxrwx
2018-05-03 14:19
range
[ DIR ]
drwxrwxrwx
2018-05-03 14:19
shop
[ DIR ]
drwxrwxrwx
2018-05-03 14:19
stock
[ DIR ]
drwxrwxrwx
2018-05-03 14:19
tax
[ DIR ]
drwxrwxrwx
2018-05-03 14:19
tree
[ DIR ]
drwxrwxrwx
2018-05-03 14:19
webservice
[ DIR ]
drwxrwxrwx
2018-05-03 14:19
.htaccess
31
B
-rwxrwxrwx
2018-05-03 14:19
Address.php
12.64
KB
-rwxrwxrwx
2018-05-03 14:19
AddressFormat.php
16.96
KB
-rwxrwxrwx
2018-05-03 14:19
AdminTab.php
95.52
KB
-rwxrwxrwx
2018-05-03 14:19
Alias.php
3.71
KB
-rwxrwxrwx
2018-05-03 14:19
Attachment.php
5.85
KB
-rwxrwxrwx
2018-05-03 14:19
Attribute.php
10.76
KB
-rwxrwxrwx
2018-05-03 14:19
AttributeGroup.php
9.91
KB
-rwxrwxrwx
2018-05-03 14:19
Blowfish.php
18.39
KB
-rwxrwxrwx
2018-05-03 14:19
CMS.php
7.16
KB
-rwxrwxrwx
2018-05-03 14:19
CMSCategory.php
20.26
KB
-rwxrwxrwx
2018-05-03 14:19
CSV.php
2.69
KB
-rwxrwxrwx
2018-05-03 14:19
Carrier.php
42.79
KB
-rwxrwxrwx
2018-05-03 14:19
Cart.php
127.88
KB
-rwxrwxrwx
2018-05-03 14:19
CartRule.php
53.52
KB
-rwxrwxrwx
2018-05-03 14:19
Category.php
54.72
KB
-rwxrwxrwx
2018-05-03 14:19
Chart.php
4.48
KB
-rwxrwxrwx
2018-05-03 14:19
Combination.php
9.76
KB
-rwxrwxrwx
2018-05-03 14:19
CompareProduct.php
4.75
KB
-rwxrwxrwx
2018-05-03 14:19
Configuration.php
17.81
KB
-rwxrwxrwx
2018-05-03 14:19
ConfigurationKPI.php
4.93
KB
-rwxrwxrwx
2018-05-03 14:19
ConfigurationTest.php
8.6
KB
-rwxrwxrwx
2018-05-03 14:19
Connection.php
8.67
KB
-rwxrwxrwx
2018-05-03 14:19
ConnectionsSource.php
4.45
KB
-rwxrwxrwx
2018-05-03 14:19
Contact.php
2.84
KB
-rwxrwxrwx
2018-05-03 14:19
Context.php
4.69
KB
-rwxrwxrwx
2018-05-03 14:19
ControllerFactory.php
1.96
KB
-rwxrwxrwx
2018-05-03 14:19
Cookie.php
11.15
KB
-rwxrwxrwx
2018-05-03 14:19
Country.php
11.84
KB
-rwxrwxrwx
2018-05-03 14:19
County.php
3.22
KB
-rwxrwxrwx
2018-05-03 14:19
Currency.php
12.85
KB
-rwxrwxrwx
2018-05-03 14:19
Customer.php
27.11
KB
-rwxrwxrwx
2018-05-03 14:19
CustomerMessage.php
3.63
KB
-rwxrwxrwx
2018-05-03 14:19
CustomerThread.php
7.03
KB
-rwxrwxrwx
2018-05-03 14:19
Customization.php
4.46
KB
-rwxrwxrwx
2018-05-03 14:19
DateRange.php
2.08
KB
-rwxrwxrwx
2018-05-03 14:19
Delivery.php
2.8
KB
-rwxrwxrwx
2018-05-03 14:19
Discount.php
7.4
KB
-rwxrwxrwx
2018-05-03 14:19
Dispatcher.php
28.81
KB
-rwxrwxrwx
2018-05-03 14:19
Employee.php
13.4
KB
-rwxrwxrwx
2018-05-03 14:19
Feature.php
10.15
KB
-rwxrwxrwx
2018-05-03 14:19
FeatureValue.php
6.11
KB
-rwxrwxrwx
2018-05-03 14:19
FileUploader.php
9.02
KB
-rwxrwxrwx
2018-05-03 14:19
Gender.php
2.06
KB
-rwxrwxrwx
2018-05-03 14:19
Group.php
11.13
KB
-rwxrwxrwx
2018-05-03 14:19
GroupReduction.php
8.05
KB
-rwxrwxrwx
2018-05-03 14:19
Guest.php
6.25
KB
-rwxrwxrwx
2018-05-03 14:19
Hook.php
23.36
KB
-rwxrwxrwx
2018-05-03 14:19
Image.php
20.18
KB
-rwxrwxrwx
2018-05-03 14:19
ImageManager.php
14.55
KB
-rwxrwxrwx
2018-05-03 14:19
ImageType.php
4.99
KB
-rwxrwxrwx
2018-05-03 14:19
Language.php
31.94
KB
-rwxrwxrwx
2018-05-03 14:19
Link.php
23.51
KB
-rwxrwxrwx
2018-05-03 14:19
LocalizationPack.php
13.46
KB
-rwxrwxrwx
2018-05-03 14:19
Mail.php
16.12
KB
-rwxrwxrwx
2018-05-03 14:19
Manufacturer.php
14.33
KB
-rwxrwxrwx
2018-05-03 14:19
Media.php
29.56
KB
-rwxrwxrwx
2018-05-03 14:19
Message.php
5.28
KB
-rwxrwxrwx
2018-05-03 14:19
Meta.php
14.7
KB
-rwxrwxrwx
2018-05-03 14:19
Notification.php
5.54
KB
-rwxrwxrwx
2018-05-03 14:19
ObjectModel.php
51.85
KB
-rwxrwxrwx
2018-05-03 14:19
Pack.php
8.91
KB
-rwxrwxrwx
2018-05-03 14:19
Page.php
3.69
KB
-rwxrwxrwx
2018-05-03 14:19
PaymentCC.php
2.34
KB
-rwxrwxrwx
2018-05-03 14:19
PaymentModule.php
40.95
KB
-rwxrwxrwx
2018-05-03 14:19
PrestaShopAutoload.php
6.57
KB
-rwxrwxrwx
2018-05-03 14:19
PrestaShopBackup.php
8.64
KB
-rwxrwxrwx
2018-05-03 14:19
PrestaShopCollection.php
16.84
KB
-rwxrwxrwx
2018-05-03 14:19
PrestaShopLogger.php
5.38
KB
-rwxrwxrwx
2018-05-03 14:19
Product.php
190.49
KB
-rwxrwxrwx
2018-05-03 14:19
ProductDownload.php
8.74
KB
-rwxrwxrwx
2018-05-03 14:19
ProductSale.php
10.32
KB
-rwxrwxrwx
2018-05-03 14:19
ProductSupplier.php
6.71
KB
-rwxrwxrwx
2018-05-03 14:19
Profile.php
4.52
KB
-rwxrwxrwx
2018-05-03 14:19
QuickAccess.php
2.4
KB
-rwxrwxrwx
2018-05-03 14:19
Referrer.php
14.72
KB
-rwxrwxrwx
2018-05-03 14:19
RequestSql.php
15.4
KB
-rwxrwxrwx
2018-05-03 14:19
Rijndael.php
2.27
KB
-rwxrwxrwx
2018-05-03 14:19
Risk.php
2.16
KB
-rwxrwxrwx
2018-05-03 14:19
Scene.php
8.28
KB
-rwxrwxrwx
2018-05-03 14:19
Search.php
30.58
KB
-rwxrwxrwx
2018-05-03 14:19
SearchEngine.php
2.25
KB
-rwxrwxrwx
2018-05-03 14:19
SpecificPrice.php
16.21
KB
-rwxrwxrwx
2018-05-03 14:19
SpecificPriceRule.php
10.71
KB
-rwxrwxrwx
2018-05-03 14:19
State.php
5.91
KB
-rwxrwxrwx
2018-05-03 14:19
Store.php
4.34
KB
-rwxrwxrwx
2018-05-03 14:19
Supplier.php
12.48
KB
-rwxrwxrwx
2018-05-03 14:19
Tab.php
16.66
KB
-rwxrwxrwx
2018-05-03 14:19
Tag.php
6.85
KB
-rwxrwxrwx
2018-05-03 14:19
Theme.php
8.01
KB
-rwxrwxrwx
2018-05-03 14:19
Tools.php
93.71
KB
-rwxrwxrwx
2018-05-03 14:19
Translate.php
8.54
KB
-rwxrwxrwx
2018-05-03 14:19
TranslatedConfiguration.php
3.59
KB
-rwxrwxrwx
2018-05-03 14:19
Upgrader.php
9.07
KB
-rwxrwxrwx
2018-05-03 14:19
Uploader.php
6.49
KB
-rwxrwxrwx
2018-05-03 14:19
Validate.php
27.13
KB
-rwxrwxrwx
2018-05-03 14:19
Zone.php
2.98
KB
-rwxrwxrwx
2018-05-03 14:19
index.php
1.24
KB
-rwxrwxrwx
2018-05-03 14:19
Save
Rename
<?php /* * 2007-2014 PrestaShop * * 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@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ /** * @since 1.5 */ class PrestaShopAutoload { /** * File where classes index is stored */ const INDEX_FILE = 'cache/class_index.php'; /** * @var Autoload */ protected static $instance; /** * @var string Root directory */ protected $root_dir; /** * @var array array('classname' => 'path/to/override', 'classnamecore' => 'path/to/class/core') */ public $index = array(); public $_include_override_path = true; protected static $class_aliases = array( 'Collection' => 'PrestaShopCollection', 'Autoload' => 'PrestaShopAutoload', 'Backup' => 'PrestaShopBackup', 'Logger' => 'PrestaShopLogger' ); protected function __construct() { $this->root_dir = _PS_CORE_DIR_.'/'; $file = _PS_ROOT_DIR_.PrestaShopAutoload::INDEX_FILE; if (@filemtime($file) && is_readable($file)) $this->index = include($file); else $this->generateIndex(); } /** * Get instance of autoload (singleton) * * @return Autoload */ public static function getInstance() { if (!PrestaShopAutoload::$instance) PrestaShopAutoload::$instance = new PrestaShopAutoload(); return PrestaShopAutoload::$instance; } /** * Retrieve informations about a class in classes index and load it * * @param string $classname */ public function load($classname) { // Retrocompatibility if (isset(PrestaShopAutoload::$class_aliases[$classname]) && !interface_exists($classname, false) && !class_exists($classname, false)) return eval('class '.$classname.' extends '.PrestaShopAutoload::$class_aliases[$classname].' {}'); // regenerate the class index if the requested file doesn't exists if ((isset($this->index[$classname]) && $this->index[$classname]['path'] && !is_file($this->root_dir.$this->index[$classname]['path'])) || (isset($this->index[$classname.'Core']) && $this->index[$classname.'Core']['path'] && !is_file($this->root_dir.$this->index[$classname.'Core']['path']))) $this->generateIndex(); // If $classname has not core suffix (E.g. Shop, Product) if (substr($classname, -4) != 'Core') { // If requested class does not exist, load associated core class if (isset($this->index[$classname]) && !$this->index[$classname]['path']) { require($this->root_dir.$this->index[$classname.'Core']['path']); if ($this->index[$classname.'Core']['type'] != 'interface') eval($this->index[$classname.'Core']['type'].' '.$classname.' extends '.$classname.'Core {}'); } else { // request a non Core Class load the associated Core class if exists if (isset($this->index[$classname.'Core'])) require_once($this->root_dir.$this->index[$classname.'Core']['path']); $class_dir = (isset($this->index[$classname]['override']) && $this->index[$classname]['override'] === true) ? _PS_ROOT_DIR_ : $this->root_dir; if (isset($this->index[$classname])) require_once($class_dir.$this->index[$classname]['path']); } } // Call directly ProductCore, ShopCore class elseif (isset($this->index[$classname]['path']) && $this->index[$classname]['path']) require($this->root_dir.$this->index[$classname]['path']); } /** * Generate classes index */ public function generateIndex() { $classes = array_merge( $this->getClassesFromDir('classes/'), $this->getClassesFromDir('controllers/') ); if ($this->_include_override_path) $classes = array_merge( $classes, $this->getClassesFromDir('override/classes/', defined('_PS_HOST_MODE_')), $this->getClassesFromDir('override/controllers/', defined('_PS_HOST_MODE_')) ); ksort($classes); $content = '<?php return '.var_export($classes, true).'; ?>'; // Write classes index on disc to cache it $filename = _PS_ROOT_DIR_.PrestaShopAutoload::INDEX_FILE; $filename_tmp = tempnam(dirname($filename), basename($filename.'.')); if ($filename_tmp !== false && file_put_contents($filename_tmp, $content) !== false) { if (!@rename($filename_tmp, $filename)) unlink($filename_tmp); else @chmod($filename, 0666); } // $filename_tmp couldn't be written. $filename should be there anyway (even if outdated), no need to die. else error_log('Cannot write temporary file '.$filename_tmp); $this->index = $classes; } /** * Retrieve recursively all classes in a directory and its subdirectories * * @param string $path Relativ path from root to the directory * @return array */ protected function getClassesFromDir($path, $host_mode = false) { $classes = array(); $root_dir = $host_mode ? _PS_ROOT_DIR_ : $this->root_dir; foreach (scandir($root_dir.$path) as $file) { if ($file[0] != '.') { if (is_dir($root_dir.$path.$file)) $classes = array_merge($classes, $this->getClassesFromDir($path.$file.'/', $host_mode)); else if (substr($file, -4) == '.php') { $content = file_get_contents($root_dir.$path.$file); $pattern = '#\W((abstract\s+)?class|interface)\s+(?P<classname>'.basename($file, '.php').'(?:Core)?)' .'(?:\s+extends\s+[a-z][a-z0-9_]*)?(?:\s+implements\s+[a-z][a-z0-9_]*(?:\s*,\s*[a-z][a-z0-9_]*)*)?\s*\{#i'; if (preg_match($pattern, $content, $m)) { $classes[$m['classname']] = array( 'path' => $path.$file, 'type' => trim($m[1]), 'override' => $host_mode ); if (substr($m['classname'], -4) == 'Core') $classes[substr($m['classname'], 0, -4)] = array( 'path' => '', 'type' => $classes[$m['classname']]['type'], 'override' => $host_mode ); } } } } return $classes; } public function getClassPath($classname) { return (isset($this->index[$classname]) && isset($this->index[$classname]['path'])) ? $this->index[$classname]['path'] : null; } }