Exploit databaseDownload repository ZIP
GH-53920e1e8e7aceb1b55659d96b6d10dd
mathiasreker/blmvuln
Sources for CVE-2022-31101
3 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files2
mathiasreker/blmvulnRevision 1ea86d84ee99
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
bin/1.7.7.6/controllers/front/IndexController.php
PHP · 1,504 bytes<?php
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* 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.md.
* 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 [email protected] 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://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <[email protected]>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
class IndexControllerCore extends FrontController
{
public $php_self = 'index';
/**
* Assign template vars related to page content.
*
* @see FrontController::initContent()
*/
public function initContent()
{
parent::initContent();
$this->context->smarty->assign([
'HOOK_HOME' => Hook::exec('displayHome'),
]);
$this->setTemplate('index');
}
}