Kernel : Linux vmw02p.internet-indee.net 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Tue Nov 16 14:42:35 UTC 2021 x86_64
Disable function : NONE
Safe mode : OFF
Host : firofichi.it | Server ip : 5.196.164.15 | Your ip : 3.15.226.147 | Time @ Server : 19 Oct 2024 02:32:04
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/webmaster/firofichi/www/vendor/magento/framework/

HOME about upload exec mass file domain root vuln newfile newfolder kill me

File Path : /home/webmaster/firofichi/www/vendor/magento/framework/Authorization.php

<?php /** * Magento Authorization component. Can be used to add authorization facility to any application * * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework; class Authorization implements \Magento\Framework\AuthorizationInterface { /** * ACL policy * * @var \Magento\Framework\Authorization\PolicyInterface */ protected $_aclPolicy; /** * ACL role locator * * @var \Magento\Framework\Authorization\RoleLocatorInterface */ protected $_aclRoleLocator; /** * @param \Magento\Framework\Authorization\PolicyInterface $aclPolicy * @param \Magento\Framework\Authorization\RoleLocatorInterface $roleLocator */ public function __construct( \Magento\Framework\Authorization\PolicyInterface $aclPolicy, \Magento\Framework\Authorization\RoleLocatorInterface $roleLocator ) { $this->_aclPolicy = $aclPolicy; $this->_aclRoleLocator = $roleLocator; } /** * Check current user permission on resource and privilege * * @param string $resource * @param string $privilege * @return boolean */ public function isAllowed($resource, $privilege = null) { return $this->_aclPolicy->isAllowed($this->_aclRoleLocator->getAclRoleId(), $resource, $privilege); } }